#C12B62#C12B62
#C12B62 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.3% C 0.188 H 4.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #C12B62 |
|---|---|
| RGB | rgb(193, 43, 98) |
| HSL | hsl(338, 64%, 46%) |
| HSV | hsv(338, 78%, 76%) |
| CMYK | cmyk(0%, 77.7%, 49.2%, 24.3%) |
| CIE-LAB | lab(44.16, 61.31, 5.43) |
| CIE-LCH | lch(44.16, 61.55, 5.06°) |
| OKLab | oklab(54.31% 0.1877 0.0145) |
| OKLCH | oklch(54.31% 0.188 4.4) |
| XYZ | xyz(25.0630, 13.9505, 12.9259) |
| Luminance | 0.1395 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 2.50
Dark Hot Pink
#D90166
ΔE00 4.00
Dark Pink
#CB416B
ΔE00 4.83
Cerise
#DE0C62
ΔE00 5.26
Light Burgundy
#A8415B
ΔE00 5.33
Deep Rose
#C74767
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C12B62 #2BC18A
analogous
#C12BAD #C12B62 #C13F2B
triadic
#C12B62 #62C12B #2B62C1
tetradic
#C12B62 #ADC12B #2BC18A #3F2BC1
square
#C12B62 #ADC12B #2BC18A #3F2BC1
split-complementary
#C12B62 #2BC13F #2BADC1
monochromatic
#5D152F #8F2049 #C12B62 #D85183 #E383A6
Accessibility & contrast
On white
5.54
#C12B62 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#C12B62 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C12B62
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C12B62 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C12B62 | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#515663
Deuteranopia (green-blind)
#78735E
Tritanopia (blue-blind)
#D20043
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #c12b62; /* rgb */ color: rgb(193, 43, 98); /* oklch */ color: oklch(54.3% 0.188 4.4);
Tailwind
colors: {
custom: {
50: '#da738e',
500: '#c12b62',
950: '#000000',
},
}SCSS
$custom: #c12b62; $custom-light: #da738e; $custom-dark: #000000;
JSON
{
"hex": "#c12b62",
"rgb": {
"r": 193,
"g": 43,
"b": 98
},
"hsl": {
"h": 338,
"s": 63.559,
"l": 46.275
},
"oklch": {
"l": 0.54314,
"c": 0.18824,
"h": 4.4
},
"luminance": 0.13947
}Semantic roles & 50–950 ramp
primary
#C12B62
secondary
#7BCCAF
accent
#E7AA41
background
#FEF7F8
surface
#FCEDF0
border
#D5C8CB
text
#16090C
muted
#847B7D