#CF4298#CF4298
#CF4298 is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.5% C 0.196 H 347.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #CF4298 |
|---|---|
| RGB | rgb(207, 66, 152) |
| HSL | hsl(323, 59%, 54%) |
| HSV | hsv(323, 68%, 81%) |
| CMYK | cmyk(0%, 68.1%, 26.6%, 18.8%) |
| CIE-LAB | lab(51.19, 63.05, -16.70) |
| CIE-LCH | lch(51.19, 65.22, 345.16°) |
| OKLab | oklab(60.51% 0.1911 -0.0441) |
| OKLCH | oklch(60.51% 0.196 347) |
| XYZ | xyz(33.3493, 19.4323, 31.6942) |
| Luminance | 0.1943 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 6.07
Mediumvioletred
#C71585
ΔE00 6.73
Shocking Pink
#FE02A2
ΔE00 7.31
Purpley Pink
#C83CB9
ΔE00 7.36
Neon Pink
#FE019A
ΔE00 7.56
Bright Pink
#FE01B1
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF4298 #42CF79
analogous
#BF42CF #CF4298 #CF4251
triadic
#CF4298 #98CF42 #4298CF
tetradic
#CF4298 #CFBF42 #42CF79 #4251CF
square
#CF4298 #CFBF42 #42CF79 #4251CF
split-complementary
#CF4298 #51CF42 #42CFBF
monochromatic
#781F55 #A92B78 #CF4298 #DB73B3 #E8A4CD
Accessibility & contrast
On white
4.30
#CF4298 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#CF4298 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF4298
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF4298 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF4298 | 1.00 | 4.30 | 4.89 | 4.89 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#546A9A
Deuteranopia (green-blind)
#7D8395
Tritanopia (blue-blind)
#DD3E67
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #cf4298; /* rgb */ color: rgb(207, 66, 152); /* oklch */ color: oklch(60.5% 0.196 347.0);
Tailwind
colors: {
custom: {
50: '#e281b6',
500: '#cf4298',
950: '#000000',
},
}SCSS
$custom: #cf4298; $custom-light: #e281b6; $custom-dark: #000000;
JSON
{
"hex": "#cf4298",
"rgb": {
"r": 207,
"g": 66,
"b": 152
},
"hsl": {
"h": 323.404,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.6051,
"c": 0.19617,
"h": 347
},
"luminance": 0.19429
}Semantic roles & 50–950 ramp
primary
#CF4298
secondary
#98D5B0
accent
#E38345
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B11
muted
#847C80