#AF2C45#AF2C45
#AF2C45 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.5% C 0.167 H 15.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2C45 |
|---|---|
| RGB | rgb(175, 44, 69) |
| HSL | hsl(349, 60%, 43%) |
| HSV | hsv(349, 75%, 69%) |
| CMYK | cmyk(0%, 74.9%, 60.6%, 31.4%) |
| CIE-LAB | lab(40.16, 53.61, 17.54) |
| CIE-LCH | lch(40.16, 56.41, 18.12°) |
| OKLab | oklab(50.51% 0.1609 0.043) |
| OKLCH | oklch(50.51% 0.167 15) |
| XYZ | xyz(19.6560, 11.3479, 6.7844) |
| Luminance | 0.1134 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.40
Rose Red
#BE013C
ΔE00 3.61
Ruby
#CA0147
ΔE00 4.74
Raspberry (survey)
#B00149
ΔE00 5.32
Cardinal
#C41E3A
ΔE00 5.42
Purplish Red
#B0054B
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2C45 #2CAF96
analogous
#AF2C86 #AF2C45 #AF552C
triadic
#AF2C45 #45AF2C #2C45AF
tetradic
#AF2C45 #86AF2C #2CAF96 #552CAF
square
#AF2C45 #86AF2C #2CAF96 #552CAF
split-complementary
#AF2C45 #2CAF55 #2C86AF
monochromatic
#4D131E #7E2032 #AF2C45 #D14762 #DD788C
Accessibility & contrast
On white
6.42
#AF2C45 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#AF2C45 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2C45
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2C45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2C45 | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504D45
Deuteranopia (green-blind)
#716842
Tritanopia (blue-blind)
#C00036
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2c45; /* rgb */ color: rgb(175, 44, 69); /* oklch */ color: oklch(50.5% 0.167 15.0);
Tailwind
colors: {
custom: {
50: '#ce7078',
500: '#af2c45',
950: '#000000',
},
}SCSS
$custom: #af2c45; $custom-light: #ce7078; $custom-dark: #000000;
JSON
{
"hex": "#af2c45",
"rgb": {
"r": 175,
"g": 44,
"b": 69
},
"hsl": {
"h": 348.55,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.50514,
"c": 0.16652,
"h": 15
},
"luminance": 0.11345
}Semantic roles & 50–950 ramp
primary
#AF2C45
secondary
#72C5B5
accent
#E3C545
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B