#AF262D#AF262D
#AF262D is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.6% C 0.173 H 23.9°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #AF262D |
|---|---|
| RGB | rgb(175, 38, 45) |
| HSL | hsl(357, 64%, 42%) |
| HSV | hsv(357, 78%, 69%) |
| CMYK | cmyk(0%, 78.3%, 74.3%, 31.4%) |
| CIE-LAB | lab(39.06, 54.25, 31.01) |
| CIE-LCH | lch(39.06, 62.49, 29.75°) |
| OKLab | oklab(49.57% 0.1579 0.07) |
| OKLCH | oklch(49.57% 0.173 23.9) |
| XYZ | xyz(18.8482, 10.6926, 3.5536) |
| Luminance | 0.1069 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.06
Firebrick
#B22222
ΔE00 2.97
Lipstick Red
#C0022F
ΔE00 3.61
Scarlet
#BE0119
ΔE00 4.80
Cardinal
#C41E3A
ΔE00 4.97
Dull Red
#BB3F3F
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF262D #26AFA8
analogous
#AF2672 #AF262D #AF6426
triadic
#AF262D #2DAF26 #262DAF
tetradic
#AF262D #72AF26 #26AFA8 #6426AF
square
#AF262D #72AF26 #26AFA8 #6426AF
split-complementary
#AF262D #26AF64 #2672AF
monochromatic
#4A1013 #7D1B20 #AF262D #D53D45 #E07075
Accessibility & contrast
On white
6.69
#AF262D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#AF262D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF262D
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF262D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF262D | 1.00 | 6.69 | 3.14 | 6.69 |
| #FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#50492C
Deuteranopia (green-blind)
#726728
Tritanopia (blue-blind)
#C1002A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af262d; /* rgb */ color: rgb(175, 38, 45); /* oklch */ color: oklch(49.6% 0.173 23.9);
Tailwind
colors: {
custom: {
50: '#d06d66',
500: '#af262d',
950: '#000000',
},
}SCSS
$custom: #af262d; $custom-light: #d06d66; $custom-dark: #000000;
JSON
{
"hex": "#af262d",
"rgb": {
"r": 175,
"g": 38,
"b": 45
},
"hsl": {
"h": 356.934,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.49566,
"c": 0.17269,
"h": 23.9
},
"luminance": 0.1069
}Semantic roles & 50–950 ramp
primary
#AF262D
secondary
#6AC7C2
accent
#E7DF40
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A