#AF2F23#AF2F23
#AF2F23 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.3% C 0.167 H 29.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F23 |
|---|---|
| RGB | rgb(175, 47, 35) |
| HSL | hsl(5, 67%, 41%) |
| HSV | hsv(5, 80%, 69%) |
| CMYK | cmyk(0%, 73.1%, 80%, 31.4%) |
| CIE-LAB | lab(40.03, 50.84, 37.82) |
| CIE-LCH | lch(40.03, 63.36, 36.65°) |
| OKLab | oklab(50.26% 0.145 0.0821) |
| OKLCH | oklch(50.26% 0.167 29.5) |
| XYZ | xyz(19.0013, 11.2713, 2.7649) |
| Luminance | 0.1127 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.20
Brick
#A03623
ΔE00 3.14
Brownish Red
#9E3623
ΔE00 3.49
Scarlet
#BE0119
ΔE00 3.87
Brown
#A52A2A
ΔE00 4.07
Rusty Red
#AF2F0D
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F23 #23A3AF
analogous
#AF235D #AF2F23 #AF7523
triadic
#AF2F23 #23AF2F #2F23AF
tetradic
#AF2F23 #5DAF23 #23A3AF #7523AF
square
#AF2F23 #5DAF23 #23A3AF #7523AF
split-complementary
#AF2F23 #23AF75 #235DAF
monochromatic
#49140F #7C2119 #AF2F23 #D74638 #E1756B
Accessibility & contrast
On white
6.45
#AF2F23 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#AF2F23 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F23
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F23 | 1.00 | 6.45 | 3.25 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554C20
Deuteranopia (green-blind)
#75691D
Tritanopia (blue-blind)
#C1002E
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2f23; /* rgb */ color: rgb(175, 47, 35); /* oklch */ color: oklch(50.3% 0.167 29.5);
Tailwind
colors: {
custom: {
50: '#d0715f',
500: '#af2f23',
950: '#000000',
},
}SCSS
$custom: #af2f23; $custom-light: #d0715f; $custom-dark: #000000;
JSON
{
"hex": "#af2f23",
"rgb": {
"r": 175,
"g": 47,
"b": 35
},
"hsl": {
"h": 5.143,
"s": 66.667,
"l": 41.176
},
"oklch": {
"l": 0.50256,
"c": 0.16658,
"h": 29.5
},
"luminance": 0.11268
}Semantic roles & 50–950 ramp
primary
#AF2F23
secondary
#66BFC7
accent
#DBEA3E
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79