#C12A4F#C12A4F
#C12A4F is a mid, vivid red. Relative luminance 0.136; OKLCH L 53.7% C 0.186 H 12.7°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #C12A4F |
|---|---|
| RGB | rgb(193, 42, 79) |
| HSL | hsl(345, 64%, 46%) |
| HSV | hsv(345, 78%, 76%) |
| CMYK | cmyk(0%, 78.2%, 59.1%, 24.3%) |
| CIE-LAB | lab(43.60, 60.17, 16.49) |
| CIE-LCH | lch(43.60, 62.39, 15.33°) |
| OKLab | oklab(53.75% 0.1815 0.0408) |
| OKLCH | oklch(53.75% 0.186 12.7) |
| XYZ | xyz(24.2340, 13.5615, 8.7372) |
| Luminance | 0.1356 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 2.64
Lipstick
#D5174E
ΔE00 3.57
Rose Red
#BE013C
ΔE00 4.52
Dark Rose
#B5485D
ΔE00 5.03
Cardinal
#C41E3A
ΔE00 5.64
Light Burgundy
#A8415B
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C12A4F #2AC19C
analogous
#C12A9A #C12A4F #C1502A
triadic
#C12A4F #4FC12A #2A4FC1
tetradic
#C12A4F #9AC12A #2AC19C #502AC1
square
#C12A4F #9AC12A #2AC19C #502AC1
split-complementary
#C12A4F #2AC150 #2A9AC1
monochromatic
#5C1426 #8F1F3A #C12A4F #D94F71 #E4829A
Accessibility & contrast
On white
5.66
#C12A4F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#C12A4F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C12A4F
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C12A4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C12A4F | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#54534F
Deuteranopia (green-blind)
#7B724B
Tritanopia (blue-blind)
#D3003A
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #c12a4f; /* rgb */ color: rgb(193, 42, 79); /* oklch */ color: oklch(53.7% 0.186 12.7);
Tailwind
colors: {
custom: {
50: '#db7280',
500: '#c12a4f',
950: '#000000',
},
}SCSS
$custom: #c12a4f; $custom-light: #db7280; $custom-dark: #000000;
JSON
{
"hex": "#c12a4f",
"rgb": {
"r": 193,
"g": 42,
"b": 79
},
"hsl": {
"h": 345.298,
"s": 64.255,
"l": 46.078
},
"oklch": {
"l": 0.53748,
"c": 0.18601,
"h": 12.7
},
"luminance": 0.13558
}Semantic roles & 50–950 ramp
primary
#C12A4F
secondary
#7ACDB8
accent
#E7BE41
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C