#CB3EA6#CB3EA6
#CB3EA6 is a mid, highly saturated pink. Relative luminance 0.189; OKLCH L 60.1% C 0.207 H 340.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #CB3EA6 |
|---|---|
| RGB | rgb(203, 62, 166) |
| HSL | hsl(316, 58%, 52%) |
| HSV | hsv(316, 69%, 80%) |
| CMYK | cmyk(0%, 69.5%, 18.2%, 20.4%) |
| CIE-LAB | lab(50.57, 65.32, -26.00) |
| CIE-LCH | lch(50.57, 70.31, 338.30°) |
| OKLab | oklab(60.11% 0.1946 -0.0701) |
| OKLCH | oklch(60.11% 0.207 340.2) |
| XYZ | xyz(33.2350, 18.8981, 37.9664) |
| Luminance | 0.1890 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.86
Pinky Purple
#C94CBE
ΔE00 4.86
Purplish Pink
#CE5DAE
ΔE00 6.14
Purpleish Pink
#DF4EC8
ΔE00 7.23
Mediumvioletred
#C71585
ΔE00 7.43
Hot Magenta
#F504C9
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB3EA6 #3ECB63
analogous
#AA3ECB #CB3EA6 #CB3E5F
triadic
#CB3EA6 #A6CB3E #3EA6CB
tetradic
#CB3EA6 #CBAA3E #3ECB63 #3E5FCB
square
#CB3EA6 #CBAA3E #3ECB63 #3E5FCB
split-complementary
#CB3EA6 #5FCB3E #3ECBAA
monochromatic
#701E5B #A12B82 #CB3EA6 #D86EBC #E59ED2
Accessibility & contrast
On white
4.39
#CB3EA6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#CB3EA6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB3EA6
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB3EA6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB3EA6 | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#476AA9
Deuteranopia (green-blind)
#7481A3
Tritanopia (blue-blind)
#D7426D
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #cb3ea6; /* rgb */ color: rgb(203, 62, 166); /* oklch */ color: oklch(60.1% 0.207 340.2);
Tailwind
colors: {
custom: {
50: '#df7fc0',
500: '#cb3ea6',
950: '#000000',
},
}SCSS
$custom: #cb3ea6; $custom-light: #df7fc0; $custom-dark: #000000;
JSON
{
"hex": "#cb3ea6",
"rgb": {
"r": 203,
"g": 62,
"b": 166
},
"hsl": {
"h": 315.745,
"s": 57.551,
"l": 51.961
},
"oklch": {
"l": 0.60115,
"c": 0.20682,
"h": 340.2
},
"luminance": 0.18895
}Semantic roles & 50–950 ramp
primary
#CB3EA6
secondary
#94D1A4
accent
#E16F47
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81