#AF3431#AF3431
#AF3431 is a mid, vivid red. Relative luminance 0.118; OKLCH L 50.9% C 0.160 H 26.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3431 |
|---|---|
| RGB | rgb(175, 52, 49) |
| HSL | hsl(1, 56%, 44%) |
| HSV | hsv(1, 72%, 69%) |
| CMYK | cmyk(0%, 70.3%, 72%, 31.4%) |
| CIE-LAB | lab(40.89, 49.51, 30.74) |
| CIE-LCH | lch(40.89, 58.27, 31.84°) |
| OKLab | oklab(50.95% 0.1437 0.0702) |
| OKLCH | oklch(50.95% 0.16 26) |
| XYZ | xyz(19.4637, 11.7946, 4.1568) |
| Luminance | 0.1179 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.93
Firebrick
#B22222
ΔE00 3.15
Dull Red
#BB3F3F
ΔE00 4.04
Brick
#A03623
ΔE00 5.14
Lipstick Red
#C0022F
ΔE00 5.15
Scarlet
#BE0119
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3431 #31ACAF
analogous
#AF316D #AF3431 #AF7331
triadic
#AF3431 #31AF34 #3431AF
tetradic
#AF3431 #6DAF31 #31ACAF #7331AF
square
#AF3431 #6DAF31 #31ACAF #7331AF
split-complementary
#AF3431 #31AF73 #316DAF
monochromatic
#4F1816 #7F2624 #AF3431 #CE524F #DB817F
Accessibility & contrast
On white
6.25
#AF3431 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#AF3431 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3431
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3431 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3431 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574F30
Deuteranopia (green-blind)
#766A2D
Tritanopia (blue-blind)
#C00935
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af3431; /* rgb */ color: rgb(175, 52, 49); /* oklch */ color: oklch(50.9% 0.160 26.0);
Tailwind
colors: {
custom: {
50: '#cf7369',
500: '#af3431',
950: '#000000',
},
}SCSS
$custom: #af3431; $custom-light: #cf7369; $custom-dark: #000000;
JSON
{
"hex": "#af3431",
"rgb": {
"r": 175,
"g": 52,
"b": 49
},
"hsl": {
"h": 1.429,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.50947,
"c": 0.15995,
"h": 26
},
"luminance": 0.11792
}Semantic roles & 50–950 ramp
primary
#AF3431
secondary
#78C2C4
accent
#DCE048
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A