#AF262C#AF262C
#AF262C is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.6% C 0.173 H 24.3°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #AF262C |
|---|---|
| RGB | rgb(175, 38, 44) |
| HSL | hsl(357, 64%, 42%) |
| HSV | hsv(357, 78%, 69%) |
| CMYK | cmyk(0%, 78.3%, 74.9%, 31.4%) |
| CIE-LAB | lab(39.04, 54.21, 31.60) |
| CIE-LCH | lch(39.04, 62.75, 30.23°) |
| OKLab | oklab(49.55% 0.1575 0.071) |
| OKLCH | oklch(49.55% 0.173 24.3) |
| XYZ | xyz(18.8291, 10.6850, 3.4534) |
| Luminance | 0.1068 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.95
Firebrick
#B22222
ΔE00 2.67
Lipstick Red
#C0022F
ΔE00 3.77
Scarlet
#BE0119
ΔE00 4.56
Cardinal
#C41E3A
ΔE00 5.17
Dull Red
#BB3F3F
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF262C #26AFA9
analogous
#AF2671 #AF262C #AF6526
triadic
#AF262C #2CAF26 #262CAF
tetradic
#AF262C #71AF26 #26AFA9 #6526AF
square
#AF262C #71AF26 #26AFA9 #6526AF
split-complementary
#AF262C #26AF65 #2671AF
monochromatic
#4A1013 #7D1B1F #AF262C #D53D44 #E07074
Accessibility & contrast
On white
6.70
#AF262C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#AF262C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF262C
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF262C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF262C | 1.00 | 6.70 | 3.14 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#50492B
Deuteranopia (green-blind)
#726727
Tritanopia (blue-blind)
#C1002A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af262c; /* rgb */ color: rgb(175, 38, 44); /* oklch */ color: oklch(49.6% 0.173 24.3);
Tailwind
colors: {
custom: {
50: '#d06d65',
500: '#af262c',
950: '#000000',
},
}SCSS
$custom: #af262c; $custom-light: #d06d65; $custom-dark: #000000;
JSON
{
"hex": "#af262c",
"rgb": {
"r": 175,
"g": 38,
"b": 44
},
"hsl": {
"h": 357.372,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.49552,
"c": 0.17279,
"h": 24.3
},
"luminance": 0.10682
}Semantic roles & 50–950 ramp
primary
#AF262C
secondary
#6AC7C3
accent
#E7E040
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#160805
muted
#847B7A