#CB3F8B#CB3F8B
#CB3F8B is a mid, vivid pink. Relative luminance 0.181; OKLCH L 59.1% C 0.190 H 351.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #CB3F8B |
|---|---|
| RGB | rgb(203, 63, 139) |
| HSL | hsl(327, 57%, 52%) |
| HSV | hsv(327, 69%, 80%) |
| CMYK | cmyk(0%, 69%, 31.5%, 20.4%) |
| CIE-LAB | lab(49.64, 61.49, -11.35) |
| CIE-LCH | lch(49.64, 62.53, 349.54°) |
| OKLab | oklab(59.09% 0.1877 -0.0294) |
| OKLCH | oklch(59.09% 0.19 351.1) |
| XYZ | xyz(31.0679, 18.1191, 26.2823) |
| Luminance | 0.1812 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 5.43
Darkish Pink
#DA467D
ΔE00 6.52
Magenta (survey)
#C20078
ΔE00 7.29
Neon Pink
#FE019A
ΔE00 8.22
Dark Pink
#CB416B
ΔE00 8.32
Purplish Pink
#CE5DAE
ΔE00 8.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB3F8B #3FCB7F
analogous
#C53FCB #CB3F8B #CB3F45
triadic
#CB3F8B #8BCB3F #3F8BCB
tetradic
#CB3F8B #CBC53F #3FCB7F #3F45CB
square
#CB3F8B #CBC53F #3FCB7F #3F45CB
split-complementary
#CB3F8B #45CB3F #3FCBC5
monochromatic
#711F4B #A12C6B #CB3F8B #D86FA8 #E59FC5
Accessibility & contrast
On white
4.54
#CB3F8B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#CB3F8B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB3F8B
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB3F8B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB3F8B | 1.00 | 4.54 | 4.62 | 4.62 |
| #FFFFFF | 4.54 | 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)
#55668D
Deuteranopia (green-blind)
#7C7F88
Tritanopia (blue-blind)
#DA375F
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #cb3f8b; /* rgb */ color: rgb(203, 63, 139); /* oklch */ color: oklch(59.1% 0.190 351.1);
Tailwind
colors: {
custom: {
50: '#df7eac',
500: '#cb3f8b',
950: '#000000',
},
}SCSS
$custom: #cb3f8b; $custom-light: #df7eac; $custom-dark: #000000;
JSON
{
"hex": "#cb3f8b",
"rgb": {
"r": 203,
"g": 63,
"b": 139
},
"hsl": {
"h": 327.429,
"s": 57.377,
"l": 52.157
},
"oklch": {
"l": 0.59091,
"c": 0.18999,
"h": 351.1
},
"luminance": 0.18116
}Semantic roles & 50–950 ramp
primary
#CB3F8B
secondary
#94D1B0
accent
#E18D47
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F