#CB45A2#CB45A2
#CB45A2 is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.6% C 0.195 H 342.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #CB45A2 |
|---|---|
| RGB | rgb(203, 69, 162) |
| HSL | hsl(318, 56%, 53%) |
| HSV | hsv(318, 66%, 80%) |
| CMYK | cmyk(0%, 66%, 20.2%, 20.4%) |
| CIE-LAB | lab(51.34, 62.15, -22.45) |
| CIE-LCH | lch(51.34, 66.08, 340.14°) |
| OKLab | oklab(60.62% 0.1859 -0.0601) |
| OKLCH | oklch(60.62% 0.195 342.1) |
| XYZ | xyz(33.2793, 19.5646, 36.1991) |
| Luminance | 0.1956 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 5.10
Purpley Pink
#C83CB9
ΔE00 5.15
Pinky Purple
#C94CBE
ΔE00 5.45
Purpleish Pink
#DF4EC8
ΔE00 7.25
Mediumvioletred
#C71585
ΔE00 7.67
Bright Pink
#FE01B1
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB45A2 #45CB6E
analogous
#B145CB #CB45A2 #CB455F
triadic
#CB45A2 #A2CB45 #45A2CB
tetradic
#CB45A2 #CBB145 #45CB6E #455FCB
square
#CB45A2 #CBB145 #45CB6E #455FCB
split-complementary
#CB45A2 #5FCB45 #45CBB1
monochromatic
#75215B #A52E80 #CB45A2 #D875BA #E6A5D2
Accessibility & contrast
On white
4.28
#CB45A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#CB45A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB45A2
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB45A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB45A2 | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#506CA5
Deuteranopia (green-blind)
#78829F
Tritanopia (blue-blind)
#D7466D
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #cb45a2; /* rgb */ color: rgb(203, 69, 162); /* oklch */ color: oklch(60.6% 0.195 342.1);
Tailwind
colors: {
custom: {
50: '#de82bd',
500: '#cb45a2',
950: '#000000',
},
}SCSS
$custom: #cb45a2; $custom-light: #de82bd; $custom-dark: #000000;
JSON
{
"hex": "#cb45a2",
"rgb": {
"r": 203,
"g": 69,
"b": 162
},
"hsl": {
"h": 318.358,
"s": 56.303,
"l": 53.333
},
"oklch": {
"l": 0.60625,
"c": 0.1954,
"h": 342.1
},
"luminance": 0.19561
}Semantic roles & 50–950 ramp
primary
#CB45A2
secondary
#99D3AB
accent
#E07748
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81