#C12772#C12772
#C12772 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.5% C 0.197 H 356.9°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #C12772 |
|---|---|
| RGB | rgb(193, 39, 114) |
| HSL | hsl(331, 66%, 45%) |
| HSV | hsv(331, 80%, 76%) |
| CMYK | cmyk(0%, 79.8%, 40.9%, 24.3%) |
| CIE-LAB | lab(44.24, 63.89, -4.38) |
| CIE-LCH | lch(44.24, 64.04, 356.08°) |
| OKLab | oklab(54.53% 0.1966 -0.0107) |
| OKLCH | oklch(54.53% 0.197 356.9) |
| XYZ | xyz(25.7570, 14.0068, 17.2636) |
| Luminance | 0.1400 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.36
Deep Pink
#CB0162
ΔE00 4.39
Mediumvioletred
#C71585
ΔE00 4.49
Dark Hot Pink
#D90166
ΔE00 5.90
Dark Pink
#CB416B
ΔE00 7.15
Cerise
#DE0C62
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C12772 #27C176
analogous
#C127BF #C12772 #C12927
triadic
#C12772 #72C127 #2772C1
tetradic
#C12772 #BFC127 #27C176 #2927C1
square
#C12772 #BFC127 #27C176 #2927C1
split-complementary
#C12772 #27C129 #27BFC1
monochromatic
#5B1236 #8E1D54 #C12772 #DB4B91 #E57EB0
Accessibility & contrast
On white
5.53
#C12772 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#C12772 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C12772
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C12772 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C12772 | 1.00 | 5.53 | 3.80 | 5.53 |
| #FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A5674
Deuteranopia (green-blind)
#74736F
Tritanopia (blue-blind)
#D1064A
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #c12772; /* rgb */ color: rgb(193, 39, 114); /* oklch */ color: oklch(54.5% 0.197 356.9);
Tailwind
colors: {
custom: {
50: '#d9729a',
500: '#c12772',
950: '#000000',
},
}SCSS
$custom: #c12772; $custom-light: #d9729a; $custom-dark: #000000;
JSON
{
"hex": "#c12772",
"rgb": {
"r": 193,
"g": 39,
"b": 114
},
"hsl": {
"h": 330.779,
"s": 66.379,
"l": 45.49
},
"oklch": {
"l": 0.54529,
"c": 0.19689,
"h": 356.9
},
"luminance": 0.14003
}Semantic roles & 50–950 ramp
primary
#C12772
secondary
#77CDA3
accent
#E9963E
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090E
muted
#847B7E