#C2318B#C2318B
#C2318B is a mid, vivid pink. Relative luminance 0.155; OKLCH L 56.4% C 0.199 H 347.4°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #C2318B |
|---|---|
| RGB | rgb(194, 49, 139) |
| HSL | hsl(323, 60%, 48%) |
| HSV | hsv(323, 75%, 76%) |
| CMYK | cmyk(0%, 74.7%, 28.4%, 23.9%) |
| CIE-LAB | lab(46.36, 63.95, -16.48) |
| CIE-LCH | lch(46.36, 66.04, 345.55°) |
| OKLab | oklab(56.4% 0.1947 -0.0435) |
| OKLCH | oklch(56.4% 0.199 347.4) |
| XYZ | xyz(28.0080, 15.5332, 25.9443) |
| Luminance | 0.1553 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 2.48
Magenta (survey)
#C20078
ΔE00 4.80
Ugly Purple
#A442A0
ΔE00 8.26
Purpley Pink
#C83CB9
ΔE00 8.62
Light Plum
#9D5783
ΔE00 8.97
Deep Pink
#CB0162
ΔE00 9.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2318B #31C268
analogous
#B131C2 #C2318B #C23142
triadic
#C2318B #8BC231 #318BC2
tetradic
#C2318B #C2B131 #31C268 #3142C2
square
#C2318B #C2B131 #31C268 #3142C2
split-complementary
#C2318B #42C231 #31C2B1
monochromatic
#601845 #912568 #C2318B #D65BA7 #E28CC1
Accessibility & contrast
On white
5.11
#C2318B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#C2318B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C2318B
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2318B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C2318B | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#465E8D
Deuteranopia (green-blind)
#717788
Tritanopia (blue-blind)
#D02B5A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #c2318b; /* rgb */ color: rgb(194, 49, 139); /* oklch */ color: oklch(56.4% 0.199 347.4);
Tailwind
colors: {
custom: {
50: '#d977ad',
500: '#c2318b',
950: '#000000',
},
}SCSS
$custom: #c2318b; $custom-light: #d977ad; $custom-dark: #000000;
JSON
{
"hex": "#c2318b",
"rgb": {
"r": 194,
"g": 49,
"b": 139
},
"hsl": {
"h": 322.759,
"s": 59.671,
"l": 47.647
},
"oklch": {
"l": 0.56398,
"c": 0.19948,
"h": 347.4
},
"luminance": 0.1553
}Semantic roles & 50–950 ramp
primary
#C2318B
secondary
#83CC9F
accent
#E38145
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F