#CB45AF#CB45AF
#CB45AF is a mid, highly saturated pink. Relative luminance 0.200; OKLCH L 61.2% C 0.204 H 337.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #CB45AF |
|---|---|
| RGB | rgb(203, 69, 175) |
| HSL | hsl(313, 56%, 53%) |
| HSV | hsv(313, 66%, 80%) |
| CMYK | cmyk(0%, 66%, 13.8%, 20.4%) |
| CIE-LAB | lab(51.89, 64.00, -29.22) |
| CIE-LCH | lch(51.89, 70.36, 335.46°) |
| OKLab | oklab(61.21% 0.1881 -0.0793) |
| OKLCH | oklch(61.21% 0.204 337.1) |
| XYZ | xyz(34.4951, 20.0509, 42.6026) |
| Luminance | 0.2005 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.88
Pinky Purple
#C94CBE
ΔE00 2.98
Purplish Pink
#CE5DAE
ΔE00 5.16
Purpleish Pink
#DF4EC8
ΔE00 5.60
Pinkish Purple
#D648D7
ΔE00 6.67
Hot Magenta
#F504C9
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB45AF #45CB61
analogous
#A445CB #CB45AF #CB456C
triadic
#CB45AF #AFCB45 #45AFCB
tetradic
#CB45AF #CBA445 #45CB61 #456CCB
square
#CB45AF #CBA445 #45CB61 #456CCB
split-complementary
#CB45AF #6CCB45 #45CBA4
monochromatic
#752163 #A52E8C #CB45AF #D875C4 #E6A5D8
Accessibility & contrast
On white
4.19
#CB45AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#CB45AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB45AF
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB45AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB45AF | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#496FB2
Deuteranopia (green-blind)
#7383AC
Tritanopia (blue-blind)
#D54C74
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #cb45af; /* rgb */ color: rgb(203, 69, 175); /* oklch */ color: oklch(61.2% 0.204 337.1);
Tailwind
colors: {
custom: {
50: '#de82c7',
500: '#cb45af',
950: '#000000',
},
}SCSS
$custom: #cb45af; $custom-light: #de82c7; $custom-dark: #000000;
JSON
{
"hex": "#cb45af",
"rgb": {
"r": 203,
"g": 69,
"b": 175
},
"hsl": {
"h": 312.537,
"s": 56.303,
"l": 53.333
},
"oklch": {
"l": 0.6121,
"c": 0.20414,
"h": 337.1
},
"luminance": 0.20048
}Semantic roles & 50–950 ramp
primary
#CB45AF
secondary
#99D3A5
accent
#E06848
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82