#AF2E2B#AF2E2B
#AF2E2B is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.3% C 0.166 H 26.6°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E2B |
|---|---|
| RGB | rgb(175, 46, 43) |
| HSL | hsl(1, 61%, 43%) |
| HSV | hsv(1, 75%, 69%) |
| CMYK | cmyk(0%, 73.7%, 75.4%, 31.4%) |
| CIE-LAB | lab(39.99, 51.50, 33.25) |
| CIE-LCH | lch(39.99, 61.30, 32.85°) |
| OKLab | oklab(50.25% 0.1487 0.0744) |
| OKLCH | oklch(50.25% 0.166 26.6) |
| XYZ | xyz(19.0944, 11.2453, 3.4502) |
| Luminance | 0.1124 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.88
Brown
#A52A2A
ΔE00 2.41
Scarlet
#BE0119
ΔE00 4.15
Brick
#A03623
ΔE00 4.55
Brownish Red
#9E3623
ΔE00 4.78
Dull Red
#BB3F3F
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E2B #2BACAF
analogous
#AF2B6A #AF2E2B #AF702B
triadic
#AF2E2B #2BAF2E #2E2BAF
tetradic
#AF2E2B #6AAF2B #2BACAF #702BAF
square
#AF2E2B #6AAF2B #2BACAF #702BAF
split-complementary
#AF2E2B #2BAF70 #2B6AAF
monochromatic
#4D1413 #7E211F #AF2E2B #D14946 #DE7977
Accessibility & contrast
On white
6.46
#AF2E2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#AF2E2B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E2B
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E2B | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544C29
Deuteranopia (green-blind)
#746826
Tritanopia (blue-blind)
#C1002F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2e2b; /* rgb */ color: rgb(175, 46, 43); /* oklch */ color: oklch(50.3% 0.166 26.6);
Tailwind
colors: {
custom: {
50: '#cf7165',
500: '#af2e2b',
950: '#000000',
},
}SCSS
$custom: #af2e2b; $custom-light: #cf7165; $custom-dark: #000000;
JSON
{
"hex": "#af2e2b",
"rgb": {
"r": 175,
"g": 46,
"b": 43
},
"hsl": {
"h": 1.364,
"s": 60.55,
"l": 42.745
},
"oklch": {
"l": 0.50252,
"c": 0.16627,
"h": 26.6
},
"luminance": 0.11242
}Semantic roles & 50–950 ramp
primary
#AF2E2B
secondary
#70C3C5
accent
#E0E444
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A