#CB399E#CB399E
#CB399E is a mid, highly saturated pink. Relative luminance 0.181; OKLCH L 59.3% C 0.208 H 343.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #CB399E |
|---|---|
| RGB | rgb(203, 57, 158) |
| HSL | hsl(318, 58%, 51%) |
| HSV | hsv(318, 72%, 80%) |
| CMYK | cmyk(0%, 71.9%, 22.2%, 20.4%) |
| CIE-LAB | lab(49.61, 65.99, -22.74) |
| CIE-LCH | lch(49.61, 69.80, 340.98°) |
| OKLab | oklab(59.31% 0.1985 -0.0609) |
| OKLCH | oklch(59.31% 0.208 343) |
| XYZ | xyz(32.2644, 18.0947, 34.1346) |
| Luminance | 0.1809 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 5.25
Mediumvioletred
#C71585
ΔE00 5.87
Pinky Purple
#C94CBE
ΔE00 6.48
Purplish Pink
#CE5DAE
ΔE00 7.11
Ugly Purple
#A442A0
ΔE00 7.96
Bright Pink
#FE01B1
ΔE00 8.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB399E #39CB66
analogous
#AF39CB #CB399E #CB3955
triadic
#CB399E #9ECB39 #399ECB
tetradic
#CB399E #CBAF39 #39CB66 #3955CB
square
#CB399E #CBAF39 #39CB66 #3955CB
split-complementary
#CB399E #55CB39 #39CBAF
monochromatic
#6D1D54 #9D297A #CB399E #D869B6 #E49ACD
Accessibility & contrast
On white
4.55
#CB399E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#CB399E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB399E
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB399E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB399E | 1.00 | 4.55 | 4.62 | 4.62 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4867A1
Deuteranopia (green-blind)
#757F9B
Tritanopia (blue-blind)
#D83A67
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #cb399e; /* rgb */ color: rgb(203, 57, 158); /* oklch */ color: oklch(59.3% 0.208 343.0);
Tailwind
colors: {
custom: {
50: '#df7cbb',
500: '#cb399e',
950: '#000000',
},
}SCSS
$custom: #cb399e; $custom-light: #df7cbb; $custom-dark: #000000;
JSON
{
"hex": "#cb399e",
"rgb": {
"r": 203,
"g": 57,
"b": 158
},
"hsl": {
"h": 318.493,
"s": 58.4,
"l": 50.98
},
"oklch": {
"l": 0.59309,
"c": 0.20765,
"h": 343
},
"luminance": 0.18091
}Semantic roles & 50–950 ramp
primary
#CB399E
secondary
#90D0A3
accent
#E27646
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80