#AF252E#AF252E
#AF252E is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.5% C 0.173 H 23.3°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #AF252E |
|---|---|
| RGB | rgb(175, 37, 46) |
| HSL | hsl(356, 65%, 42%) |
| HSV | hsv(356, 79%, 69%) |
| CMYK | cmyk(0%, 78.9%, 73.7%, 31.4%) |
| CIE-LAB | lab(38.96, 54.60, 30.30) |
| CIE-LCH | lch(38.96, 62.45, 29.03°) |
| OKLab | oklab(49.5% 0.1592 0.0687) |
| OKLCH | oklch(49.5% 0.173 23.3) |
| XYZ | xyz(18.8361, 10.6373, 3.6456) |
| Luminance | 0.1063 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.27
Lipstick Red
#C0022F
ΔE00 3.37
Firebrick
#B22222
ΔE00 3.40
Cardinal
#C41E3A
ΔE00 4.73
Scarlet
#BE0119
ΔE00 5.13
Dull Red
#BB3F3F
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF252E #25AFA6
analogous
#AF2573 #AF252E #AF6125
triadic
#AF252E #2EAF25 #252EAF
tetradic
#AF252E #73AF25 #25AFA6 #6125AF
square
#AF252E #73AF25 #25AFA6 #6125AF
split-complementary
#AF252E #25AF61 #2573AF
monochromatic
#4A1013 #7C1A21 #AF252E #D63C46 #E06E76
Accessibility & contrast
On white
6.72
#AF252E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#AF252E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF252E
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF252E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF252E | 1.00 | 6.72 | 3.13 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F492D
Deuteranopia (green-blind)
#726629
Tritanopia (blue-blind)
#C1002A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af252e; /* rgb */ color: rgb(175, 37, 46); /* oklch */ color: oklch(49.5% 0.173 23.3);
Tailwind
colors: {
custom: {
50: '#cf6d67',
500: '#af252e',
950: '#000000',
},
}SCSS
$custom: #af252e; $custom-light: #cf6d67; $custom-dark: #000000;
JSON
{
"hex": "#af252e",
"rgb": {
"r": 175,
"g": 37,
"b": 46
},
"hsl": {
"h": 356.087,
"s": 65.094,
"l": 41.569
},
"oklch": {
"l": 0.495,
"c": 0.17337,
"h": 23.3
},
"luminance": 0.10634
}Semantic roles & 50–950 ramp
primary
#AF252E
secondary
#69C7C1
accent
#E8DD40
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150806
muted
#837B7A