#C7234F#C7234F
#C7234F is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.3% C 0.197 H 12.6°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #C7234F |
|---|---|
| RGB | rgb(199, 35, 79) |
| HSL | hsl(344, 70%, 46%) |
| HSV | hsv(344, 82%, 78%) |
| CMYK | cmyk(0%, 82.4%, 60.3%, 22%) |
| CIE-LAB | lab(44.11, 63.68, 17.38) |
| CIE-LCH | lch(44.11, 66.01, 15.26°) |
| OKLab | oklab(54.33% 0.1921 0.0428) |
| OKLCH | oklch(54.33% 0.197 12.6) |
| XYZ | xyz(25.5682, 13.9126, 8.7347) |
| Luminance | 0.1391 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ruby
#CA0147
ΔE00 2.09
Lipstick
#D5174E
ΔE00 2.64
Rose Red
#BE013C
ΔE00 4.63
Raspberry
#E30B5C
ΔE00 5.41
Cerise
#DE0C62
ΔE00 5.60
Cardinal
#C41E3A
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7234F #23C79B
analogous
#C723A1 #C7234F #C74923
triadic
#C7234F #4FC723 #234FC7
tetradic
#C7234F #A1C723 #23C79B #4923C7
square
#C7234F #A1C723 #23C79B #4923C7
split-complementary
#C7234F #23C749 #23A1C7
monochromatic
#5F1126 #931A3A #C7234F #DF4871 #E87C99
Accessibility & contrast
On white
5.55
#C7234F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#C7234F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C7234F
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7234F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C7234F | 1.00 | 5.55 | 3.78 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#545350
Deuteranopia (green-blind)
#7D744B
Tritanopia (blue-blind)
#DA0037
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #c7234f; /* rgb */ color: rgb(199, 35, 79); /* oklch */ color: oklch(54.3% 0.197 12.6);
Tailwind
colors: {
custom: {
50: '#e07180',
500: '#c7234f',
950: '#000000',
},
}SCSS
$custom: #c7234f; $custom-light: #e07180; $custom-dark: #000000;
JSON
{
"hex": "#c7234f",
"rgb": {
"r": 199,
"g": 35,
"b": 79
},
"hsl": {
"h": 343.902,
"s": 70.085,
"l": 45.882
},
"oklch": {
"l": 0.54332,
"c": 0.19677,
"h": 12.6
},
"luminance": 0.13909
}Semantic roles & 50–950 ramp
primary
#C7234F
secondary
#76D0B8
accent
#EDBD3B
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#17090A
muted
#857B7C