#C12B5F#C12B5F
#C12B5F is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.2% C 0.188 H 5.8°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #C12B5F |
|---|---|
| RGB | rgb(193, 43, 95) |
| HSL | hsl(339, 64%, 46%) |
| HSV | hsv(339, 78%, 76%) |
| CMYK | cmyk(0%, 77.7%, 50.8%, 24.3%) |
| CIE-LAB | lab(44.08, 61.06, 7.19) |
| CIE-LCH | lch(44.08, 61.48, 6.71°) |
| OKLab | oklab(54.23% 0.1866 0.0188) |
| OKLCH | oklch(54.23% 0.188 5.8) |
| XYZ | xyz(24.9240, 13.8949, 12.1938) |
| Luminance | 0.1389 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 2.82
Dark Hot Pink
#D90166
ΔE00 4.10
Dark Pink
#CB416B
ΔE00 4.81
Cerise
#DE0C62
ΔE00 5.06
Light Burgundy
#A8415B
ΔE00 5.10
Deep Rose
#C74767
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C12B5F #2BC18D
analogous
#C12BAA #C12B5F #C1422B
triadic
#C12B5F #5FC12B #2B5FC1
tetradic
#C12B5F #AAC12B #2BC18D #422BC1
square
#C12B5F #AAC12B #2BC18D #422BC1
split-complementary
#C12B5F #2BC142 #2BAAC1
monochromatic
#5D152E #8F2046 #C12B5F #D85180 #E383A4
Accessibility & contrast
On white
5.56
#C12B5F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#C12B5F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C12B5F
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C12B5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C12B5F | 1.00 | 5.56 | 3.78 | 5.56 |
| #FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#515560
Deuteranopia (green-blind)
#79735B
Tritanopia (blue-blind)
#D20042
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #c12b5f; /* rgb */ color: rgb(193, 43, 95); /* oklch */ color: oklch(54.2% 0.188 5.8);
Tailwind
colors: {
custom: {
50: '#da738c',
500: '#c12b5f',
950: '#000000',
},
}SCSS
$custom: #c12b5f; $custom-light: #da738c; $custom-dark: #000000;
JSON
{
"hex": "#c12b5f",
"rgb": {
"r": 193,
"g": 43,
"b": 95
},
"hsl": {
"h": 339.2,
"s": 63.559,
"l": 46.275
},
"oklch": {
"l": 0.54229,
"c": 0.18754,
"h": 5.8
},
"luminance": 0.13891
}Semantic roles & 50–950 ramp
primary
#C12B5F
secondary
#7BCCB0
accent
#E7AD41
background
#FEF7F8
surface
#FCEDF0
border
#D5C8CB
text
#16090C
muted
#847B7D