最接近的命名颜色 · #D1525E
#D1525E
最接近的命名颜色: Cranberry Splash
#D1525E(rgb(209 82 94)、hsl(354 58% 57%)、oklch(0.608 0.16 17.6))最接近命名颜色 Cranberry Splash。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#D1525E
oklch(0.608 0.16 17.6)
颜色转换
- HEX
- #d1525e
- RGB
- rgb(209 82 94)
- HSL
- hsl(354 58% 57%)
- HWB
- hwb(354 32% 18%)
- OKLCH
- oklch(0.608 0.16 17.6)
- OKLab
- oklab(0.608 0.153 0.049)
- CIE Lab
- lab(52.85 51.72 20.74)
- LCH
- lch(52.85 55.73 21.8)
- CMYK
- cmyk(0% 61% 55% 18%)
浅色调 · 深色调 · 灰色调
浅色调
- D8656D
- DE777D
- E4888C
- EA9A9C
- EEABAC
- F3BBBC
- F7CCCD
- FADDDD
- FDEEEE
深色调
- B54651
- 9B3B44
- 812F37
- 68252B
- 501A1F
- 391114
- 23080A
- 100203
- 020000
灰色调
- CA5962
- C35F65
- BC6469
- B4696C
- AC6E70
- A47273
- 9C7676
- 93797A
- 8A7D7D
配色和谐
互补色 +180°
- D1525E
Cranberry Splash
- 009599
≈ Sea Fantasy
类似色 -30° +30°
- D1525E
Cranberry Splash
- C55494
≈ Llilacquered
- CD5E11
≈ Rusty Orange
三角配色 +120° +240°
- D1525E
Cranberry Splash
- 4D982B
≈ Beer Garden
- 3E81E1
≈ Skies of Cyberspace
分裂互补色 +150° +210°
- D1525E
Cranberry Splash
- 009A74
≈ Jardinière
- 0090BA
≈ Swimmer
四角配色 +90° +180° +270°
- D1525E
Cranberry Splash
- 8B8700
≈ Palak Paneer
- 009599
≈ Sea Fantasy
- 806FDC
≈ Matt Purple
对比度与无障碍
Ag
Fail白底
WCAG 4.13:1 · APCA Lc 68
Ag
AA黑底
WCAG 5.07:1 · APCA Lc 34
最佳文字颜色: #000000
WCAG 5.07:1 (AA) · APCA Lc 34
Contrast pairs
代码片段
CSS
:root {
--cranberry-splash: #d1525e;
--cranberry-splash-rgb: 209 82 94;
--cranberry-splash-oklch: oklch(0.608 0.16 17.6);
}
.element {
color: var(--cranberry-splash);
background-color: hsl(354 58% 57%);
border-color: oklch(0.608 0.16 17.6);
}Tailwind CSS v4
@theme {
--color-cranberry-splash: #d1525e;
--color-cranberry-splash-50: #ffe4e3;
--color-cranberry-splash-100: #ffd3d2;
--color-cranberry-splash-200: #ffb9b8;
--color-cranberry-splash-300: #ff9496;
--color-cranberry-splash-400: #ee727b;
--color-cranberry-splash-500: #dc4e5d;
--color-cranberry-splash-600: #b9434f;
--color-cranberry-splash-700: #95363f;
--color-cranberry-splash-800: #6f252f;
--color-cranberry-splash-900: #4e1920;
--color-cranberry-splash-950: #340910;
}SCSS
$cranberry-splash: #d1525e;
$cranberry-splash-rgb: 209, 82, 94;
$cranberry-splash-light: mix(#fff, $cranberry-splash, 20%);
$cranberry-splash-dark: mix(#000, $cranberry-splash, 20%);
.element {
color: $cranberry-splash;
box-shadow: 0 0 0 2px rgba($cranberry-splash, 0.35);
}