#AF261F#AF261F
#AF261F is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.4% C 0.174 H 28.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #AF261F |
|---|---|
| RGB | rgb(175, 38, 31) |
| HSL | hsl(3, 70%, 40%) |
| HSV | hsv(3, 82%, 69%) |
| CMYK | cmyk(0%, 78.3%, 82.3%, 31.4%) |
| CIE-LAB | lab(38.90, 53.75, 38.88) |
| CIE-LCH | lch(38.90, 66.34, 35.88°) |
| OKLab | oklab(49.4% 0.1533 0.083) |
| OKLCH | oklch(49.4% 0.174 28.4) |
| XYZ | xyz(18.6219, 10.6021, 2.3620) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.32
Scarlet
#BE0119
ΔE00 3.02
Brown
#A52A2A
ΔE00 3.64
Brick
#A03623
ΔE00 3.68
Brownish Red
#9E3623
ΔE00 3.96
Darkish Red
#A90308
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF261F #1FA8AF
analogous
#AF1F60 #AF261F #AF6E1F
triadic
#AF261F #1FAF26 #261FAF
tetradic
#AF261F #60AF1F #1FA8AF #6E1FAF
square
#AF261F #60AF1F #1FA8AF #6E1FAF
split-complementary
#AF261F #1FAF6E #1F60AF
monochromatic
#470F0D #7B1B16 #AF261F #DA3931 #E46B65
Accessibility & contrast
On white
6.73
#AF261F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#AF261F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF261F
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF261F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF261F | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#51481C
Deuteranopia (green-blind)
#736618
Tritanopia (blue-blind)
#C10026
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af261f; /* rgb */ color: rgb(175, 38, 31); /* oklch */ color: oklch(49.4% 0.174 28.4);
Tailwind
colors: {
custom: {
50: '#d06d5c',
500: '#af261f',
950: '#000000',
},
}SCSS
$custom: #af261f; $custom-light: #d06d5c; $custom-dark: #000000;
JSON
{
"hex": "#af261f",
"rgb": {
"r": 175,
"g": 38,
"b": 31
},
"hsl": {
"h": 2.917,
"s": 69.903,
"l": 40.392
},
"oklch": {
"l": 0.49401,
"c": 0.17433,
"h": 28.4
},
"luminance": 0.10599
}Semantic roles & 50–950 ramp
primary
#AF261F
secondary
#61C4C9
accent
#E4ED3B
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160804
muted
#847A79