#AF262F#AF262F
#AF262F is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.6% C 0.172 H 23.2°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #AF262F |
|---|---|
| RGB | rgb(175, 38, 47) |
| HSL | hsl(356, 64%, 42%) |
| HSV | hsv(356, 78%, 69%) |
| CMYK | cmyk(0%, 78.3%, 73.1%, 31.4%) |
| CIE-LAB | lab(39.08, 54.34, 29.84) |
| CIE-LCH | lch(39.08, 61.99, 28.77°) |
| OKLab | oklab(49.6% 0.1586 0.0678) |
| OKLCH | oklch(49.6% 0.172 23.2) |
| XYZ | xyz(18.8876, 10.7084, 3.7612) |
| Luminance | 0.1071 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.38
Lipstick Red
#C0022F
ΔE00 3.34
Firebrick
#B22222
ΔE00 3.58
Cardinal
#C41E3A
ΔE00 4.60
Scarlet
#BE0119
ΔE00 5.31
Dull Red
#BB3F3F
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF262F #26AFA6
analogous
#AF2674 #AF262F #AF6126
triadic
#AF262F #2FAF26 #262FAF
tetradic
#AF262F #74AF26 #26AFA6 #6126AF
square
#AF262F #74AF26 #26AFA6 #6126AF
split-complementary
#AF262F #26AF61 #2674AF
monochromatic
#4A1014 #7D1B21 #AF262F #D53D47 #E07077
Accessibility & contrast
On white
6.69
#AF262F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#AF262F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF262F
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF262F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF262F | 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)
#50492E
Deuteranopia (green-blind)
#72672A
Tritanopia (blue-blind)
#C1002B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af262f; /* rgb */ color: rgb(175, 38, 47); /* oklch */ color: oklch(49.6% 0.172 23.2);
Tailwind
colors: {
custom: {
50: '#cf6d67',
500: '#af262f',
950: '#000000',
},
}SCSS
$custom: #af262f; $custom-light: #cf6d67; $custom-dark: #000000;
JSON
{
"hex": "#af262f",
"rgb": {
"r": 175,
"g": 38,
"b": 47
},
"hsl": {
"h": 356.058,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.49595,
"c": 0.17249,
"h": 23.2
},
"luminance": 0.10705
}Semantic roles & 50–950 ramp
primary
#AF262F
secondary
#6AC7C1
accent
#E7DC40
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A