#CB3FAF#CB3FAF
#CB3FAF is a mid, highly saturated pink. Relative luminance 0.193; OKLCH L 60.6% C 0.212 H 337.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #CB3FAF |
|---|---|
| RGB | rgb(203, 63, 175) |
| HSL | hsl(312, 57%, 52%) |
| HSV | hsv(312, 69%, 80%) |
| CMYK | cmyk(0%, 69%, 13.8%, 20.4%) |
| CIE-LAB | lab(51.09, 66.24, -30.47) |
| CIE-LCH | lch(51.09, 72.91, 335.30°) |
| OKLab | oklab(60.63% 0.1948 -0.0828) |
| OKLCH | oklch(60.63% 0.212 337) |
| XYZ | xyz(34.1445, 19.3497, 42.4857) |
| Luminance | 0.1935 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.27
Pinky Purple
#C94CBE
ΔE00 3.33
Purplish Pink
#CE5DAE
ΔE00 6.16
Purpleish Pink
#DF4EC8
ΔE00 6.20
Hot Magenta
#F504C9
ΔE00 6.83
Pinkish Purple
#D648D7
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB3FAF #3FCB5B
analogous
#A13FCB #CB3FAF #CB3F69
triadic
#CB3FAF #AFCB3F #3FAFCB
tetradic
#CB3FAF #CBA13F #3FCB5B #3F69CB
square
#CB3FAF #CBA13F #3FCB5B #3F69CB
split-complementary
#CB3FAF #69CB3F #3FCBA1
monochromatic
#711F61 #A12C8A #CB3FAF #D86FC3 #E59FD7
Accessibility & contrast
On white
4.31
#CB3FAF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#CB3FAF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB3FAF
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB3FAF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB3FAF | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#436CB2
Deuteranopia (green-blind)
#7181AC
Tritanopia (blue-blind)
#D64772
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #cb3faf; /* rgb */ color: rgb(203, 63, 175); /* oklch */ color: oklch(60.6% 0.212 337.0);
Tailwind
colors: {
custom: {
50: '#df7fc7',
500: '#cb3faf',
950: '#000000',
},
}SCSS
$custom: #cb3faf; $custom-light: #df7fc7; $custom-dark: #000000;
JSON
{
"hex": "#cb3faf",
"rgb": {
"r": 203,
"g": 63,
"b": 175
},
"hsl": {
"h": 312,
"s": 57.377,
"l": 52.157
},
"oklch": {
"l": 0.60628,
"c": 0.21165,
"h": 337
},
"luminance": 0.19347
}Semantic roles & 50–950 ramp
primary
#CB3FAF
secondary
#94D1A1
accent
#E16647
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82