#CB498E#CB498E
#CB498E is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.3% C 0.178 H 350.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #CB498E |
|---|---|
| RGB | rgb(203, 73, 142) |
| HSL | hsl(328, 56%, 54%) |
| HSV | hsv(328, 64%, 80%) |
| CMYK | cmyk(0%, 64%, 30%, 20.4%) |
| CIE-LAB | lab(51.17, 57.92, -10.84) |
| CIE-LCH | lch(51.17, 58.92, 349.40°) |
| OKLab | oklab(60.25% 0.1762 -0.0281) |
| OKLCH | oklch(60.25% 0.178 350.9) |
| XYZ | xyz(31.8951, 19.4180, 27.6543) |
| Luminance | 0.1941 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 5.99
Purplish Pink
#CE5DAE
ΔE00 7.05
Mediumvioletred
#C71585
ΔE00 7.24
Neon Pink
#FE019A
ΔE00 7.99
Shocking Pink
#FE02A2
ΔE00 8.17
Pale Magenta
#D767AD
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB498E #49CB86
analogous
#C749CB #CB498E #CB494D
triadic
#CB498E #8ECB49 #498ECB
tetradic
#CB498E #CBC749 #49CB86 #494DCB
square
#CB498E #CBC749 #49CB86 #494DCB
split-complementary
#CB498E #4DCB49 #49CBC7
monochromatic
#77224F #A7306F #CB498E #D979AC #E6A8C9
Accessibility & contrast
On white
4.30
#CB498E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#CB498E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB498E
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB498E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB498E | 1.00 | 4.30 | 4.88 | 4.88 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B6B90
Deuteranopia (green-blind)
#80828B
Tritanopia (blue-blind)
#D94265
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #cb498e; /* rgb */ color: rgb(203, 73, 142); /* oklch */ color: oklch(60.3% 0.178 350.9);
Tailwind
colors: {
custom: {
50: '#df83af',
500: '#cb498e',
950: '#000000',
},
}SCSS
$custom: #cb498e; $custom-light: #df83af; $custom-dark: #000000;
JSON
{
"hex": "#cb498e",
"rgb": {
"r": 203,
"g": 73,
"b": 142
},
"hsl": {
"h": 328.154,
"s": 55.556,
"l": 54.118
},
"oklch": {
"l": 0.60254,
"c": 0.17846,
"h": 350.9
},
"luminance": 0.19415
}Semantic roles & 50–950 ramp
primary
#CB498E
secondary
#9CD4B6
accent
#DF8F49
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F