#C12F72#C12F72
#C12F72 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.1% C 0.189 H 357.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #C12F72 |
|---|---|
| RGB | rgb(193, 47, 114) |
| HSL | hsl(332, 61%, 47%) |
| HSV | hsv(332, 76%, 76%) |
| CMYK | cmyk(0%, 75.6%, 40.9%, 24.3%) |
| CIE-LAB | lab(45.07, 61.56, -3.16) |
| CIE-LCH | lch(45.07, 61.64, 357.06°) |
| OKLab | oklab(55.13% 0.1891 -0.0075) |
| OKLCH | oklch(55.13% 0.189 357.7) |
| XYZ | xyz(26.0480, 14.5887, 17.3606) |
| Luminance | 0.1459 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.40
Deep Pink
#CB0162
ΔE00 4.41
Mediumvioletred
#C71585
ΔE00 5.17
Dark Hot Pink
#D90166
ΔE00 5.54
Dark Pink
#CB416B
ΔE00 6.16
Cerise
#DE0C62
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C12F72 #2FC17E
analogous
#C12FBB #C12F72 #C1352F
triadic
#C12F72 #72C12F #2F72C1
tetradic
#C12F72 #BBC12F #2FC17E #352FC1
square
#C12F72 #BBC12F #2FC17E #352FC1
split-complementary
#C12F72 #2FC135 #2FBBC1
monochromatic
#5F1738 #902355 #C12F72 #D65791 #E288B2
Accessibility & contrast
On white
5.36
#C12F72 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#C12F72 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C12F72
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C12F72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C12F72 | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E5974
Deuteranopia (green-blind)
#76756F
Tritanopia (blue-blind)
#D1194D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #c12f72; /* rgb */ color: rgb(193, 47, 114); /* oklch */ color: oklch(55.1% 0.189 357.7);
Tailwind
colors: {
custom: {
50: '#d9759a',
500: '#c12f72',
950: '#000000',
},
}SCSS
$custom: #c12f72; $custom-light: #d9759a; $custom-dark: #000000;
JSON
{
"hex": "#c12f72",
"rgb": {
"r": 193,
"g": 47,
"b": 114
},
"hsl": {
"h": 332.466,
"s": 60.833,
"l": 47.059
},
"oklch": {
"l": 0.55131,
"c": 0.18929,
"h": 357.7
},
"luminance": 0.14585
}Semantic roles & 50–950 ramp
primary
#C12F72
secondary
#80CCA9
accent
#E49A44
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090E
muted
#847B7E