#CB4794#CB4794
#CB4794 is a mid, vivid pink. Relative luminance 0.193; OKLCH L 60.3% C 0.184 H 348.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #CB4794 |
|---|---|
| RGB | rgb(203, 71, 148) |
| HSL | hsl(325, 56%, 54%) |
| HSV | hsv(325, 65%, 80%) |
| CMYK | cmyk(0%, 65%, 27.1%, 20.4%) |
| CIE-LAB | lab(51.09, 59.49, -14.54) |
| CIE-LCH | lch(51.09, 61.24, 346.26°) |
| OKLab | oklab(60.26% 0.1804 -0.0382) |
| OKLCH | oklch(60.26% 0.184 348) |
| XYZ | xyz(32.2285, 19.3444, 30.0478) |
| Luminance | 0.1934 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 6.22
Mediumvioletred
#C71585
ΔE00 6.90
Darkish Pink
#DA467D
ΔE00 7.39
Shocking Pink
#FE02A2
ΔE00 7.96
Pale Magenta
#D767AD
ΔE00 8.02
Neon Pink
#FE019A
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB4794 #47CB7E
analogous
#C047CB #CB4794 #CB4752
triadic
#CB4794 #94CB47 #4794CB
tetradic
#CB4794 #CBC047 #47CB7E #4752CB
square
#CB4794 #CBC047 #47CB7E #4752CB
split-complementary
#CB4794 #52CB47 #47CBC0
monochromatic
#762153 #A62F74 #CB4794 #D877B0 #E6A6CB
Accessibility & contrast
On white
4.31
#CB4794 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#CB4794 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB4794
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB4794 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB4794 | 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)
#586B96
Deuteranopia (green-blind)
#7D8291
Tritanopia (blue-blind)
#D94367
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #cb4794; /* rgb */ color: rgb(203, 71, 148); /* oklch */ color: oklch(60.3% 0.184 348.0);
Tailwind
colors: {
custom: {
50: '#df83b3',
500: '#cb4794',
950: '#000000',
},
}SCSS
$custom: #cb4794; $custom-light: #df83b3; $custom-dark: #000000;
JSON
{
"hex": "#cb4794",
"rgb": {
"r": 203,
"g": 71,
"b": 148
},
"hsl": {
"h": 325,
"s": 55.932,
"l": 53.725
},
"oklch": {
"l": 0.60261,
"c": 0.18436,
"h": 348
},
"luminance": 0.19341
}Semantic roles & 50–950 ramp
primary
#CB4794
secondary
#9BD3B2
accent
#DF8749
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80