#CF42A3#CF42A3
#CF42A3 is a mid, highly saturated pink. Relative luminance 0.198; OKLCH L 61.0% C 0.203 H 342.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #CF42A3 |
|---|---|
| RGB | rgb(207, 66, 163) |
| HSL | hsl(319, 59%, 54%) |
| HSV | hsv(319, 68%, 81%) |
| CMYK | cmyk(0%, 68.1%, 21.3%, 18.8%) |
| CIE-LAB | lab(51.62, 64.48, -22.55) |
| CIE-LCH | lch(51.62, 68.31, 340.72°) |
| OKLab | oklab(60.97% 0.1935 -0.0603) |
| OKLCH | oklch(60.97% 0.203 342.7) |
| XYZ | xyz(34.2923, 19.8095, 36.6609) |
| Luminance | 0.1981 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 5.16
Purpley Pink
#C83CB9
ΔE00 5.21
Pinky Purple
#C94CBE
ΔE00 5.52
Purpleish Pink
#DF4EC8
ΔE00 7.00
Bright Pink
#FE01B1
ΔE00 7.22
Hot Magenta
#F504C9
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF42A3 #42CF6E
analogous
#B442CF #CF42A3 #CF425C
triadic
#CF42A3 #A3CF42 #42A3CF
tetradic
#CF42A3 #CFB442 #42CF6E #425CCF
square
#CF42A3 #CFB442 #42CF6E #425CCF
split-complementary
#CF42A3 #5CCF42 #42CFB4
monochromatic
#781F5C #A92B82 #CF42A3 #DB73BB #E8A4D3
Accessibility & contrast
On white
4.23
#CF42A3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#CF42A3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF42A3
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF42A3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF42A3 | 1.00 | 4.23 | 4.96 | 4.96 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F6CA6
Deuteranopia (green-blind)
#7983A0
Tritanopia (blue-blind)
#DC436D
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cf42a3; /* rgb */ color: rgb(207, 66, 163); /* oklch */ color: oklch(61.0% 0.203 342.7);
Tailwind
colors: {
custom: {
50: '#e281be',
500: '#cf42a3',
950: '#000000',
},
}SCSS
$custom: #cf42a3; $custom-light: #e281be; $custom-dark: #000000;
JSON
{
"hex": "#cf42a3",
"rgb": {
"r": 207,
"g": 66,
"b": 163
},
"hsl": {
"h": 318.723,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.60967,
"c": 0.20266,
"h": 342.7
},
"luminance": 0.19806
}Semantic roles & 50–950 ramp
primary
#CF42A3
secondary
#98D5AB
accent
#E37645
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B12
muted
#847C81