#C12F56#C12F56
#C12F56 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.3% C 0.182 H 10.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #C12F56 |
|---|---|
| RGB | rgb(193, 47, 86) |
| HSL | hsl(344, 61%, 47%) |
| HSV | hsv(344, 76%, 76%) |
| CMYK | cmyk(0%, 75.6%, 55.4%, 24.3%) |
| CIE-LAB | lab(44.30, 59.13, 13.09) |
| CIE-LCH | lch(44.30, 60.56, 12.48°) |
| OKLab | oklab(54.32% 0.1792 0.033) |
| OKLCH | oklch(54.32% 0.182 10.4) |
| XYZ | xyz(24.6909, 14.0459, 10.2133) |
| Luminance | 0.1404 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ruby
#CA0147
ΔE00 4.00
Dark Rose
#B5485D
ΔE00 4.21
Lipstick
#D5174E
ΔE00 4.26
Deep Rose
#C74767
ΔE00 5.10
Light Burgundy
#A8415B
ΔE00 5.15
Deep Pink
#CB0162
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C12F56 #2FC19A
analogous
#C12F9F #C12F56 #C1512F
triadic
#C12F56 #56C12F #2F56C1
tetradic
#C12F56 #9FC12F #2FC19A #512FC1
square
#C12F56 #9FC12F #2FC19A #512FC1
split-complementary
#C12F56 #2FC151 #2F9FC1
monochromatic
#5F172A #902340 #C12F56 #D65779 #E288A0
Accessibility & contrast
On white
5.51
#C12F56 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#C12F56 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C12F56
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C12F56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C12F56 | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#565657
Deuteranopia (green-blind)
#7B7352
Tritanopia (blue-blind)
#D3003F
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #c12f56; /* rgb */ color: rgb(193, 47, 86); /* oklch */ color: oklch(54.3% 0.182 10.4);
Tailwind
colors: {
custom: {
50: '#da7485',
500: '#c12f56',
950: '#000000',
},
}SCSS
$custom: #c12f56; $custom-light: #da7485; $custom-dark: #000000;
JSON
{
"hex": "#c12f56",
"rgb": {
"r": 193,
"g": 47,
"b": 86
},
"hsl": {
"h": 343.973,
"s": 60.833,
"l": 47.059
},
"oklch": {
"l": 0.54316,
"c": 0.18225,
"h": 10.4
},
"luminance": 0.14042
}Semantic roles & 50–950 ramp
primary
#C12F56
secondary
#80CCB8
accent
#E4B944
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090B
muted
#847B7C