#AF2F2A#AF2F2A
#AF2F2A is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.3% C 0.166 H 27.2°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F2A |
|---|---|
| RGB | rgb(175, 47, 42) |
| HSL | hsl(2, 61%, 43%) |
| HSV | hsv(2, 76%, 69%) |
| CMYK | cmyk(0%, 73.1%, 76%, 31.4%) |
| CIE-LAB | lab(40.11, 51.09, 33.96) |
| CIE-LCH | lch(40.11, 61.35, 33.61°) |
| OKLab | oklab(50.34% 0.1472 0.0757) |
| OKLCH | oklch(50.34% 0.166 27.2) |
| XYZ | xyz(19.1158, 11.3171, 3.3679) |
| Luminance | 0.1131 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.79
Brown
#A52A2A
ΔE00 2.69
Scarlet
#BE0119
ΔE00 4.05
Brick
#A03623
ΔE00 4.20
Brownish Red
#9E3623
ΔE00 4.45
Dull Red
#BB3F3F
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F2A #2AAAAF
analogous
#AF2A67 #AF2F2A #AF722A
triadic
#AF2F2A #2AAF2F #2F2AAF
tetradic
#AF2F2A #67AF2A #2AAAAF #722AAF
square
#AF2F2A #67AF2A #2AAAAF #722AAF
split-complementary
#AF2F2A #2AAF72 #2A67AF
monochromatic
#4C1412 #7E221E #AF2F2A #D24944 #DE7975
Accessibility & contrast
On white
6.44
#AF2F2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#AF2F2A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F2A
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F2A | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554D28
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#C1002F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2f2a; /* rgb */ color: rgb(175, 47, 42); /* oklch */ color: oklch(50.3% 0.166 27.2);
Tailwind
colors: {
custom: {
50: '#cf7164',
500: '#af2f2a',
950: '#000000',
},
}SCSS
$custom: #af2f2a; $custom-light: #cf7164; $custom-dark: #000000;
JSON
{
"hex": "#af2f2a",
"rgb": {
"r": 175,
"g": 47,
"b": 42
},
"hsl": {
"h": 2.256,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.50337,
"c": 0.16553,
"h": 27.2
},
"luminance": 0.11314
}Semantic roles & 50–950 ramp
primary
#AF2F2A
secondary
#6FC2C6
accent
#DEE443
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A