#AF262E#AF262E
#AF262E is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.6% C 0.173 H 23.5°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #AF262E |
|---|---|
| RGB | rgb(175, 38, 46) |
| HSL | hsl(356, 64%, 42%) |
| HSV | hsv(356, 78%, 69%) |
| CMYK | cmyk(0%, 78.3%, 73.7%, 31.4%) |
| CIE-LAB | lab(39.07, 54.30, 30.43) |
| CIE-LCH | lch(39.07, 62.24, 29.26°) |
| OKLab | oklab(49.58% 0.1582 0.0689) |
| OKLCH | oklch(49.58% 0.173 23.5) |
| XYZ | xyz(18.8677, 10.7004, 3.6562) |
| Luminance | 0.1070 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.20
Firebrick
#B22222
ΔE00 3.28
Lipstick Red
#C0022F
ΔE00 3.46
Cardinal
#C41E3A
ΔE00 4.78
Scarlet
#BE0119
ΔE00 5.05
Dull Red
#BB3F3F
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF262E #26AFA7
analogous
#AF2673 #AF262E #AF6226
triadic
#AF262E #2EAF26 #262EAF
tetradic
#AF262E #73AF26 #26AFA7 #6226AF
square
#AF262E #73AF26 #26AFA7 #6226AF
split-complementary
#AF262E #26AF62 #2673AF
monochromatic
#4A1014 #7D1B21 #AF262E #D53D46 #E07076
Accessibility & contrast
On white
6.69
#AF262E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#AF262E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF262E
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF262E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF262E | 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)
#50492D
Deuteranopia (green-blind)
#726729
Tritanopia (blue-blind)
#C1002B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af262e; /* rgb */ color: rgb(175, 38, 46); /* oklch */ color: oklch(49.6% 0.173 23.5);
Tailwind
colors: {
custom: {
50: '#cf6d67',
500: '#af262e',
950: '#000000',
},
}SCSS
$custom: #af262e; $custom-light: #cf6d67; $custom-dark: #000000;
JSON
{
"hex": "#af262e",
"rgb": {
"r": 175,
"g": 38,
"b": 46
},
"hsl": {
"h": 356.496,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.4958,
"c": 0.17259,
"h": 23.5
},
"luminance": 0.10697
}Semantic roles & 50–950 ramp
primary
#AF262E
secondary
#6AC7C1
accent
#E7DE40
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A