#AF313E#AF313E
#AF313E is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.9% C 0.162 H 19.5°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #AF313E |
|---|---|
| RGB | rgb(175, 49, 62) |
| HSL | hsl(354, 56%, 44%) |
| HSV | hsv(354, 72%, 69%) |
| CMYK | cmyk(0%, 72%, 64.6%, 31.4%) |
| CIE-LAB | lab(40.67, 51.37, 22.58) |
| CIE-LCH | lch(40.67, 56.11, 23.73°) |
| OKLab | oklab(50.85% 0.1524 0.054) |
| OKLCH | oklch(50.85% 0.162 19.5) |
| XYZ | xyz(19.6491, 11.6612, 5.7727) |
| Luminance | 0.1166 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 3.88
Rose Red
#BE013C
ΔE00 4.24
Rouge
#AB1239
ΔE00 4.53
Lipstick Red
#C0022F
ΔE00 4.57
Dull Red
#BB3F3F
ΔE00 4.98
Brown
#A52A2A
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF313E #31AFA2
analogous
#AF317D #AF313E #AF6331
triadic
#AF313E #3EAF31 #313EAF
tetradic
#AF313E #7DAF31 #31AFA2 #6331AF
square
#AF313E #7DAF31 #31AFA2 #6331AF
split-complementary
#AF313E #31AF63 #317DAF
monochromatic
#4F161C #7F242D #AF313E #CE4F5C #DB7F89
Accessibility & contrast
On white
6.30
#AF313E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#AF313E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF313E
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF313E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF313E | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544F3E
Deuteranopia (green-blind)
#736A3A
Tritanopia (blue-blind)
#C00737
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af313e; /* rgb */ color: rgb(175, 49, 62); /* oklch */ color: oklch(50.9% 0.162 19.5);
Tailwind
colors: {
custom: {
50: '#ce7273',
500: '#af313e',
950: '#000000',
},
}SCSS
$custom: #af313e; $custom-light: #ce7273; $custom-dark: #000000;
JSON
{
"hex": "#af313e",
"rgb": {
"r": 175,
"g": 49,
"b": 62
},
"hsl": {
"h": 353.81,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.50852,
"c": 0.16163,
"h": 19.5
},
"luminance": 0.11658
}Semantic roles & 50–950 ramp
primary
#AF313E
secondary
#78C4BC
accent
#E0D048
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150808
muted
#837B7B