#C2398B#C2398B
#C2398B is a mid, vivid pink. Relative luminance 0.163; OKLCH L 57.1% C 0.190 H 348.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #C2398B |
|---|---|
| RGB | rgb(194, 57, 139) |
| HSL | hsl(324, 55%, 49%) |
| HSV | hsv(324, 71%, 76%) |
| CMYK | cmyk(0%, 70.6%, 28.4%, 23.9%) |
| CIE-LAB | lab(47.32, 61.24, -15.02) |
| CIE-LCH | lch(47.32, 63.06, 346.22°) |
| OKLab | oklab(57.1% 0.1863 -0.0395) |
| OKLCH | oklch(57.1% 0.19 348) |
| XYZ | xyz(28.3728, 16.2628, 26.0659) |
| Luminance | 0.1626 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.50
Magenta (survey)
#C20078
ΔE00 5.61
Light Plum
#9D5783
ΔE00 8.35
Ugly Purple
#A442A0
ΔE00 8.63
Purpley Pink
#C83CB9
ΔE00 8.67
Darkish Pink
#DA467D
ΔE00 9.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2398B #39C270
analogous
#B539C2 #C2398B #C23946
triadic
#C2398B #8BC239 #398BC2
tetradic
#C2398B #C2B539 #39C270 #3946C2
square
#C2398B #C2B539 #39C270 #3946C2
split-complementary
#C2398B #46C239 #39C2B5
monochromatic
#631D47 #932B69 #C2398B #D266A7 #E095C2
Accessibility & contrast
On white
4.94
#C2398B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#C2398B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C2398B
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2398B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C2398B | 1.00 | 4.94 | 4.25 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C618D
Deuteranopia (green-blind)
#747988
Tritanopia (blue-blind)
#D0345D
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #c2398b; /* rgb */ color: rgb(194, 57, 139); /* oklch */ color: oklch(57.1% 0.190 348.0);
Tailwind
colors: {
custom: {
50: '#d97aad',
500: '#c2398b',
950: '#000000',
},
}SCSS
$custom: #c2398b; $custom-light: #d97aad; $custom-dark: #000000;
JSON
{
"hex": "#c2398b",
"rgb": {
"r": 194,
"g": 57,
"b": 139
},
"hsl": {
"h": 324.088,
"s": 54.582,
"l": 49.216
},
"oklch": {
"l": 0.57099,
"c": 0.1904,
"h": 348
},
"luminance": 0.1626
}Semantic roles & 50–950 ramp
primary
#C2398B
secondary
#8BCBA5
accent
#DE854A
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F