#CB397E#CB397E
#CB397E is a mid, vivid pink. Relative luminance 0.171; OKLCH L 58.1% C 0.191 H 356.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #CB397E |
|---|---|
| RGB | rgb(203, 57, 126) |
| HSL | hsl(332, 58%, 51%) |
| HSV | hsv(332, 72%, 80%) |
| CMYK | cmyk(0%, 71.9%, 37.9%, 20.4%) |
| CIE-LAB | lab(48.43, 62.20, -5.33) |
| CIE-LCH | lch(48.43, 62.43, 355.11°) |
| OKLab | oklab(58.06% 0.1908 -0.0132) |
| OKLCH | oklch(58.06% 0.191 356) |
| XYZ | xyz(29.8596, 17.1328, 21.4691) |
| Luminance | 0.1713 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 5.32
Mediumvioletred
#C71585
ΔE00 5.55
Dark Pink
#CB416B
ΔE00 5.83
Dark Hot Pink
#D90166
ΔE00 6.29
Magenta (survey)
#C20078
ΔE00 6.35
Deep Pink
#CB0162
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB397E #39CB86
analogous
#CB39C7 #CB397E #CB3D39
triadic
#CB397E #7ECB39 #397ECB
tetradic
#CB397E #C7CB39 #39CB86 #3D39CB
square
#CB397E #C7CB39 #39CB86 #3D39CB
split-complementary
#CB397E #39CB3D #39C7CB
monochromatic
#6D1D43 #9D2960 #CB397E #D8699E #E49ABD
Accessibility & contrast
On white
4.74
#CB397E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#CB397E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CB397E
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB397E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CB397E | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#556280
Deuteranopia (green-blind)
#7E7D7B
Tritanopia (blue-blind)
#DB2957
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #cb397e; /* rgb */ color: rgb(203, 57, 126); /* oklch */ color: oklch(58.1% 0.191 356.0);
Tailwind
colors: {
custom: {
50: '#e07ba3',
500: '#cb397e',
950: '#000000',
},
}SCSS
$custom: #cb397e; $custom-light: #e07ba3; $custom-dark: #000000;
JSON
{
"hex": "#cb397e",
"rgb": {
"r": 203,
"g": 57,
"b": 126
},
"hsl": {
"h": 331.644,
"s": 58.4,
"l": 50.98
},
"oklch": {
"l": 0.58056,
"c": 0.19126,
"h": 356
},
"luminance": 0.17129
}Semantic roles & 50–950 ramp
primary
#CB397E
secondary
#90D0B2
accent
#E29846
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160A0F
muted
#847C7F