#C12F6B#C12F6B
#C12F6B is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.9% C 0.187 H 0.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #C12F6B |
|---|---|
| RGB | rgb(193, 47, 107) |
| HSL | hsl(335, 61%, 47%) |
| HSV | hsv(335, 76%, 76%) |
| CMYK | cmyk(0%, 75.6%, 44.6%, 24.3%) |
| CIE-LAB | lab(44.85, 60.88, 0.84) |
| CIE-LCH | lch(44.85, 60.89, 0.79°) |
| OKLab | oklab(54.9% 0.1869 0.0029) |
| OKLCH | oklch(54.9% 0.187 0.9) |
| XYZ | xyz(25.6647, 14.4354, 15.3419) |
| Luminance | 0.1443 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.24
Dark Hot Pink
#D90166
ΔE00 4.50
Dark Pink
#CB416B
ΔE00 5.05
Magenta (survey)
#C20078
ΔE00 5.73
Cerise
#DE0C62
ΔE00 6.17
Light Burgundy
#A8415B
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C12F6B #2FC185
analogous
#C12FB4 #C12F6B #C13C2F
triadic
#C12F6B #6BC12F #2F6BC1
tetradic
#C12F6B #B4C12F #2FC185 #3C2FC1
square
#C12F6B #B4C12F #2FC185 #3C2FC1
split-complementary
#C12F6B #2FC13C #2FB4C1
monochromatic
#5F1734 #902350 #C12F6B #D6578B #E288AD
Accessibility & contrast
On white
5.40
#C12F6B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#C12F6B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C12F6B
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C12F6B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C12F6B | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#50586C
Deuteranopia (green-blind)
#787468
Tritanopia (blue-blind)
#D21349
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #c12f6b; /* rgb */ color: rgb(193, 47, 107); /* oklch */ color: oklch(54.9% 0.187 0.9);
Tailwind
colors: {
custom: {
50: '#d97595',
500: '#c12f6b',
950: '#000000',
},
}SCSS
$custom: #c12f6b; $custom-light: #d97595; $custom-dark: #000000;
JSON
{
"hex": "#c12f6b",
"rgb": {
"r": 193,
"g": 47,
"b": 107
},
"hsl": {
"h": 335.342,
"s": 60.833,
"l": 47.059
},
"oklch": {
"l": 0.54904,
"c": 0.18689,
"h": 0.9
},
"luminance": 0.14432
}Semantic roles & 50–950 ramp
primary
#C12F6B
secondary
#80CCAD
accent
#E4A244
background
#FEF7F9
surface
#FCEEF1
border
#D5C9CB
text
#16090D
muted
#847B7E