#CB46A2#CB46A2
#CB46A2 is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.7% C 0.194 H 342.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #CB46A2 |
|---|---|
| RGB | rgb(203, 70, 162) |
| HSL | hsl(318, 56%, 54%) |
| HSV | hsv(318, 66%, 80%) |
| CMYK | cmyk(0%, 65.5%, 20.2%, 20.4%) |
| CIE-LAB | lab(51.48, 61.75, -22.23) |
| CIE-LCH | lch(51.48, 65.63, 340.20°) |
| OKLab | oklab(60.73% 0.1847 -0.0595) |
| OKLCH | oklch(60.73% 0.194 342.1) |
| XYZ | xyz(33.3413, 19.6886, 36.2198) |
| Luminance | 0.1968 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.94
Purpley Pink
#C83CB9
ΔE00 5.25
Pinky Purple
#C94CBE
ΔE00 5.45
Purpleish Pink
#DF4EC8
ΔE00 7.19
Mediumvioletred
#C71585
ΔE00 7.80
Pale Magenta
#D767AD
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB46A2 #46CB6F
analogous
#B146CB #CB46A2 #CB465F
triadic
#CB46A2 #A2CB46 #46A2CB
tetradic
#CB46A2 #CBB146 #46CB6F #465FCB
square
#CB46A2 #CBB146 #46CB6F #465FCB
split-complementary
#CB46A2 #5FCB46 #46CBB1
monochromatic
#76215C #A52E81 #CB46A2 #D876BA #E6A6D2
Accessibility & contrast
On white
4.25
#CB46A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#CB46A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB46A2
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB46A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB46A2 | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#516DA5
Deuteranopia (green-blind)
#79839F
Tritanopia (blue-blind)
#D7476E
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cb46a2; /* rgb */ color: rgb(203, 70, 162); /* oklch */ color: oklch(60.7% 0.194 342.1);
Tailwind
colors: {
custom: {
50: '#de82bd',
500: '#cb46a2',
950: '#000000',
},
}SCSS
$custom: #cb46a2; $custom-light: #de82bd; $custom-dark: #000000;
JSON
{
"hex": "#cb46a2",
"rgb": {
"r": 203,
"g": 70,
"b": 162
},
"hsl": {
"h": 318.496,
"s": 56.118,
"l": 53.529
},
"oklch": {
"l": 0.60729,
"c": 0.19409,
"h": 342.1
},
"luminance": 0.19685
}Semantic roles & 50–950 ramp
primary
#CB46A2
secondary
#9AD3AB
accent
#DF7748
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B12
muted
#847C81