#AF2F2E#AF2F2E
#AF2F2E is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.4% C 0.165 H 25.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F2E |
|---|---|
| RGB | rgb(175, 47, 46) |
| HSL | hsl(0, 58%, 43%) |
| HSV | hsv(0, 74%, 69%) |
| CMYK | cmyk(0%, 73.1%, 73.7%, 31.4%) |
| CIE-LAB | lab(40.16, 51.26, 31.67) |
| CIE-LCH | lch(40.16, 60.26, 31.71°) |
| OKLab | oklab(50.39% 0.1486 0.0717) |
| OKLCH | oklch(50.39% 0.165 25.7) |
| XYZ | xyz(19.1910, 11.3472, 3.7640) |
| Luminance | 0.1134 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.34
Firebrick
#B22222
ΔE00 2.51
Scarlet
#BE0119
ΔE00 4.64
Dull Red
#BB3F3F
ΔE00 4.69
Lipstick Red
#C0022F
ΔE00 4.72
Brick
#A03623
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F2E #2EAEAF
analogous
#AF2E6D #AF2F2E #AF6F2E
triadic
#AF2F2E #2EAF2F #2F2EAF
tetradic
#AF2F2E #6DAF2E #2EAEAF #6F2EAF
square
#AF2F2E #6DAF2E #2EAEAF #6F2EAF
split-complementary
#AF2F2E #2EAF6F #2E6DAF
monochromatic
#4E1515 #7F2221 #AF2F2E #D04C4B #DC7C7B
Accessibility & contrast
On white
6.42
#AF2F2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#AF2F2E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F2E
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F2E | 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)
#544D2C
Deuteranopia (green-blind)
#746929
Tritanopia (blue-blind)
#C10030
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2f2e; /* rgb */ color: rgb(175, 47, 46); /* oklch */ color: oklch(50.4% 0.165 25.7);
Tailwind
colors: {
custom: {
50: '#cf7167',
500: '#af2f2e',
950: '#000000',
},
}SCSS
$custom: #af2f2e; $custom-light: #cf7167; $custom-dark: #000000;
JSON
{
"hex": "#af2f2e",
"rgb": {
"r": 175,
"g": 47,
"b": 46
},
"hsl": {
"h": 0.465,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.5039,
"c": 0.16499,
"h": 25.7
},
"luminance": 0.11344
}Semantic roles & 50–950 ramp
primary
#AF2F2E
secondary
#74C4C5
accent
#E0E246
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A