#AF2F2C#AF2F2C
#AF2F2C is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.4% C 0.165 H 26.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F2C |
|---|---|
| RGB | rgb(175, 47, 44) |
| HSL | hsl(1, 60%, 43%) |
| HSV | hsv(1, 75%, 69%) |
| CMYK | cmyk(0%, 73.1%, 74.9%, 31.4%) |
| CIE-LAB | lab(40.13, 51.18, 32.82) |
| CIE-LCH | lch(40.13, 60.80, 32.67°) |
| OKLab | oklab(50.36% 0.1479 0.0737) |
| OKLCH | oklch(50.36% 0.165 26.5) |
| XYZ | xyz(19.1525, 11.3318, 3.5612) |
| Luminance | 0.1133 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.09
Brown
#A52A2A
ΔE00 2.45
Scarlet
#BE0119
ΔE00 4.31
Brick
#A03623
ΔE00 4.63
Brownish Red
#9E3623
ΔE00 4.86
Dull Red
#BB3F3F
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F2C #2CACAF
analogous
#AF2C6A #AF2F2C #AF702C
triadic
#AF2F2C #2CAF2F #2F2CAF
tetradic
#AF2F2C #6AAF2C #2CACAF #702CAF
square
#AF2F2C #6AAF2C #2CACAF #702CAF
split-complementary
#AF2F2C #2CAF70 #2C6AAF
monochromatic
#4D1513 #7E2220 #AF2F2C #D14B47 #DD7B78
Accessibility & contrast
On white
6.43
#AF2F2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#AF2F2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F2C
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F2C | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554D2A
Deuteranopia (green-blind)
#746927
Tritanopia (blue-blind)
#C10030
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2f2c; /* rgb */ color: rgb(175, 47, 44); /* oklch */ color: oklch(50.4% 0.165 26.5);
Tailwind
colors: {
custom: {
50: '#cf7165',
500: '#af2f2c',
950: '#000000',
},
}SCSS
$custom: #af2f2c; $custom-light: #cf7165; $custom-dark: #000000;
JSON
{
"hex": "#af2f2c",
"rgb": {
"r": 175,
"g": 47,
"b": 44
},
"hsl": {
"h": 1.374,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.50363,
"c": 0.16525,
"h": 26.5
},
"luminance": 0.11329
}Semantic roles & 50–950 ramp
primary
#AF2F2C
secondary
#72C3C5
accent
#DFE345
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A