#CB47AF#CB47AF
#CB47AF is a mid, highly saturated pink. Relative luminance 0.203; OKLCH L 61.4% C 0.202 H 337.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #CB47AF |
|---|---|
| RGB | rgb(203, 71, 175) |
| HSL | hsl(313, 56%, 54%) |
| HSV | hsv(313, 65%, 80%) |
| CMYK | cmyk(0%, 65%, 13.8%, 20.4%) |
| CIE-LAB | lab(52.18, 63.22, -28.78) |
| CIE-LCH | lch(52.18, 69.46, 335.52°) |
| OKLab | oklab(61.42% 0.1858 -0.0781) |
| OKLCH | oklch(61.42% 0.202 337.2) |
| XYZ | xyz(34.6202, 20.3011, 42.6443) |
| Luminance | 0.2030 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 2.93
Purpley Pink
#C83CB9
ΔE00 3.15
Purplish Pink
#CE5DAE
ΔE00 4.81
Purpleish Pink
#DF4EC8
ΔE00 5.41
Pinkish Purple
#D648D7
ΔE00 6.64
Hot Magenta
#F504C9
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB47AF #47CB63
analogous
#A547CB #CB47AF #CB476D
triadic
#CB47AF #AFCB47 #47AFCB
tetradic
#CB47AF #CBA547 #47CB63 #476DCB
square
#CB47AF #CBA547 #47CB63 #476DCB
split-complementary
#CB47AF #6DCB47 #47CBA5
monochromatic
#762164 #A62F8D #CB47AF #D877C4 #E6A6D8
Accessibility & contrast
On white
4.15
#CB47AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#CB47AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB47AF
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB47AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB47AF | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B6FB2
Deuteranopia (green-blind)
#7484AC
Tritanopia (blue-blind)
#D54D75
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #cb47af; /* rgb */ color: rgb(203, 71, 175); /* oklch */ color: oklch(61.4% 0.202 337.2);
Tailwind
colors: {
custom: {
50: '#de83c7',
500: '#cb47af',
950: '#000000',
},
}SCSS
$custom: #cb47af; $custom-light: #de83c7; $custom-dark: #000000;
JSON
{
"hex": "#cb47af",
"rgb": {
"r": 203,
"g": 71,
"b": 175
},
"hsl": {
"h": 312.727,
"s": 55.932,
"l": 53.725
},
"oklch": {
"l": 0.61415,
"c": 0.20152,
"h": 337.2
},
"luminance": 0.20298
}Semantic roles & 50–950 ramp
primary
#CB47AF
secondary
#9BD3A7
accent
#DF6949
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82