#AF303E#AF303E
#AF303E is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.8% C 0.163 H 19.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #AF303E |
|---|---|
| RGB | rgb(175, 48, 62) |
| HSL | hsl(353, 57%, 44%) |
| HSV | hsv(353, 73%, 69%) |
| CMYK | cmyk(0%, 72.6%, 64.6%, 31.4%) |
| CIE-LAB | lab(40.54, 51.74, 22.41) |
| CIE-LCH | lch(40.54, 56.38, 23.42°) |
| OKLab | oklab(50.75% 0.1535 0.0536) |
| OKLCH | oklch(50.75% 0.163 19.2) |
| XYZ | xyz(19.6077, 11.5785, 5.7589) |
| Luminance | 0.1158 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 3.89
Rose Red
#BE013C
ΔE00 4.07
Rouge
#AB1239
ΔE00 4.32
Lipstick Red
#C0022F
ΔE00 4.56
Dull Red
#BB3F3F
ΔE00 5.18
Brown
#A52A2A
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF303E #30AFA1
analogous
#AF307D #AF303E #AF6130
triadic
#AF303E #3EAF30 #303EAF
tetradic
#AF303E #7DAF30 #30AFA1 #6130AF
square
#AF303E #7DAF30 #30AFA1 #6130AF
split-complementary
#AF303E #30AF61 #307DAF
monochromatic
#4F161C #7F232D #AF303E #CE4E5C #DC7E88
Accessibility & contrast
On white
6.33
#AF303E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#AF303E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF303E
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF303E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF303E | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534E3E
Deuteranopia (green-blind)
#73693A
Tritanopia (blue-blind)
#C00336
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af303e; /* rgb */ color: rgb(175, 48, 62); /* oklch */ color: oklch(50.8% 0.163 19.2);
Tailwind
colors: {
custom: {
50: '#ce7273',
500: '#af303e',
950: '#000000',
},
}SCSS
$custom: #af303e; $custom-light: #ce7273; $custom-dark: #000000;
JSON
{
"hex": "#af303e",
"rgb": {
"r": 175,
"g": 48,
"b": 62
},
"hsl": {
"h": 353.386,
"s": 56.951,
"l": 43.725
},
"oklch": {
"l": 0.50752,
"c": 0.16261,
"h": 19.2
},
"luminance": 0.11576
}Semantic roles & 50–950 ramp
primary
#AF303E
secondary
#76C4BC
accent
#E0CF48
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150808
muted
#837B7B