#C12F6F#C12F6F
#C12F6F is a mid, vivid pink. Relative luminance 0.145; OKLCH L 55.0% C 0.188 H 359.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #C12F6F |
|---|---|
| RGB | rgb(193, 47, 111) |
| HSL | hsl(334, 61%, 47%) |
| HSV | hsv(334, 76%, 76%) |
| CMYK | cmyk(0%, 75.6%, 42.5%, 24.3%) |
| CIE-LAB | lab(44.97, 61.27, -1.45) |
| CIE-LCH | lch(44.97, 61.28, 358.64°) |
| OKLab | oklab(55.03% 0.1882 -0.0031) |
| OKLCH | oklch(55.03% 0.188 359.1) |
| XYZ | xyz(25.8800, 14.5215, 16.4760) |
| Luminance | 0.1452 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.86
Magenta (survey)
#C20078
ΔE00 4.93
Dark Hot Pink
#D90166
ΔE00 5.05
Dark Pink
#CB416B
ΔE00 5.65
Mediumvioletred
#C71585
ΔE00 5.88
Cerise
#DE0C62
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C12F6F #2FC181
analogous
#C12FB8 #C12F6F #C1382F
triadic
#C12F6F #6FC12F #2F6FC1
tetradic
#C12F6F #B8C12F #2FC181 #382FC1
square
#C12F6F #B8C12F #2FC181 #382FC1
split-complementary
#C12F6F #2FC138 #2FB8C1
monochromatic
#5F1736 #902353 #C12F6F #D6578F #E288B0
Accessibility & contrast
On white
5.38
#C12F6F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#C12F6F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C12F6F
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C12F6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C12F6F | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F5971
Deuteranopia (green-blind)
#77746C
Tritanopia (blue-blind)
#D1164B
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #c12f6f; /* rgb */ color: rgb(193, 47, 111); /* oklch */ color: oklch(55.0% 0.188 359.1);
Tailwind
colors: {
custom: {
50: '#d97598',
500: '#c12f6f',
950: '#000000',
},
}SCSS
$custom: #c12f6f; $custom-light: #d97598; $custom-dark: #000000;
JSON
{
"hex": "#c12f6f",
"rgb": {
"r": 193,
"g": 47,
"b": 111
},
"hsl": {
"h": 333.699,
"s": 60.833,
"l": 47.059
},
"oklch": {
"l": 0.55032,
"c": 0.18822,
"h": 359.1
},
"luminance": 0.14518
}Semantic roles & 50–950 ramp
primary
#C12F6F
secondary
#80CCAB
accent
#E49E44
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090D
muted
#847B7E