#CB3F8F#CB3F8F
#CB3F8F is a mid, vivid pink. Relative luminance 0.182; OKLCH L 59.2% C 0.192 H 349.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #CB3F8F |
|---|---|
| RGB | rgb(203, 63, 143) |
| HSL | hsl(326, 57%, 52%) |
| HSV | hsv(326, 69%, 80%) |
| CMYK | cmyk(0%, 69%, 29.6%, 20.4%) |
| CIE-LAB | lab(49.78, 61.97, -13.54) |
| CIE-LCH | lch(49.78, 63.43, 347.68°) |
| OKLab | oklab(59.24% 0.1887 -0.0354) |
| OKLCH | oklch(59.24% 0.192 349.4) |
| XYZ | xyz(31.3656, 18.2381, 27.8498) |
| Luminance | 0.1824 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 5.41
Darkish Pink
#DA467D
ΔE00 7.25
Magenta (survey)
#C20078
ΔE00 7.52
Purplish Pink
#CE5DAE
ΔE00 7.74
Neon Pink
#FE019A
ΔE00 8.22
Shocking Pink
#FE02A2
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB3F8F #3FCB7B
analogous
#C13FCB #CB3F8F #CB3F49
triadic
#CB3F8F #8FCB3F #3F8FCB
tetradic
#CB3F8F #CBC13F #3FCB7B #3F49CB
square
#CB3F8F #CBC13F #3FCB7B #3F49CB
split-complementary
#CB3F8F #49CB3F #3FCBC1
monochromatic
#711F4E #A12C6F #CB3F8F #D86FAB #E59FC7
Accessibility & contrast
On white
4.52
#CB3F8F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#CB3F8F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB3F8F
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB3F8F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB3F8F | 1.00 | 4.52 | 4.65 | 4.65 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#536791
Deuteranopia (green-blind)
#7B7F8C
Tritanopia (blue-blind)
#D93861
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #cb3f8f; /* rgb */ color: rgb(203, 63, 143); /* oklch */ color: oklch(59.2% 0.192 349.4);
Tailwind
colors: {
custom: {
50: '#df7eaf',
500: '#cb3f8f',
950: '#000000',
},
}SCSS
$custom: #cb3f8f; $custom-light: #df7eaf; $custom-dark: #000000;
JSON
{
"hex": "#cb3f8f",
"rgb": {
"r": 203,
"g": 63,
"b": 143
},
"hsl": {
"h": 325.714,
"s": 57.377,
"l": 52.157
},
"oklch": {
"l": 0.59243,
"c": 0.19202,
"h": 349.4
},
"luminance": 0.18235
}Semantic roles & 50–950 ramp
primary
#CB3F8F
secondary
#94D1AF
accent
#E18947
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F