#CF48A2#CF48A2
#CF48A2 is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.5% C 0.194 H 343.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #CF48A2 |
|---|---|
| RGB | rgb(207, 72, 162) |
| HSL | hsl(320, 58%, 55%) |
| HSV | hsv(320, 65%, 81%) |
| CMYK | cmyk(0%, 65.2%, 21.7%, 18.8%) |
| CIE-LAB | lab(52.41, 62.04, -20.75) |
| CIE-LCH | lch(52.41, 65.42, 341.51°) |
| OKLab | oklab(61.53% 0.1863 -0.0554) |
| OKLCH | oklch(61.53% 0.194 343.4) |
| XYZ | xyz(34.5722, 20.5121, 36.3139) |
| Luminance | 0.2051 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.30
Pinky Purple
#C94CBE
ΔE00 5.83
Purpley Pink
#C83CB9
ΔE00 6.00
Purpleish Pink
#DF4EC8
ΔE00 6.88
Pale Magenta
#D767AD
ΔE00 6.92
Bright Pink
#FE01B1
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF48A2 #48CF75
analogous
#B948CF #CF48A2 #CF485F
triadic
#CF48A2 #A2CF48 #48A2CF
tetradic
#CF48A2 #CFB948 #48CF75 #485FCF
square
#CF48A2 #CFB948 #48CF75 #485FCF
split-complementary
#CF48A2 #5FCF48 #48CFB9
monochromatic
#7C215E #AD2D82 #CF48A2 #DC78BB #E8A9D3
Accessibility & contrast
On white
4.12
#CF48A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#CF48A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF48A2
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF48A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF48A2 | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#546FA5
Deuteranopia (green-blind)
#7C859F
Tritanopia (blue-blind)
#DC486F
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #cf48a2; /* rgb */ color: rgb(207, 72, 162); /* oklch */ color: oklch(61.5% 0.194 343.4);
Tailwind
colors: {
custom: {
50: '#e184bd',
500: '#cf48a2',
950: '#000000',
},
}SCSS
$custom: #cf48a2; $custom-light: #e184bd; $custom-dark: #000000;
JSON
{
"hex": "#cf48a2",
"rgb": {
"r": 207,
"g": 72,
"b": 162
},
"hsl": {
"h": 320,
"s": 58.442,
"l": 54.706
},
"oklch": {
"l": 0.61532,
"c": 0.1943,
"h": 343.4
},
"luminance": 0.20509
}Semantic roles & 50–950 ramp
primary
#CF48A2
secondary
#9DD6B0
accent
#E27A46
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81