#AF303D#AF303D
#AF303D is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.7% C 0.163 H 19.7°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #AF303D |
|---|---|
| RGB | rgb(175, 48, 61) |
| HSL | hsl(354, 57%, 44%) |
| HSV | hsv(354, 73%, 69%) |
| CMYK | cmyk(0%, 72.6%, 65.1%, 31.4%) |
| CIE-LAB | lab(40.52, 51.68, 23.00) |
| CIE-LCH | lch(40.52, 56.57, 23.99°) |
| OKLab | oklab(50.73% 0.1531 0.0548) |
| OKLCH | oklch(50.73% 0.163 19.7) |
| XYZ | xyz(19.5805, 11.5677, 5.6157) |
| Luminance | 0.1157 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 3.82
Rose Red
#BE013C
ΔE00 4.21
Lipstick Red
#C0022F
ΔE00 4.39
Rouge
#AB1239
ΔE00 4.48
Dull Red
#BB3F3F
ΔE00 5.00
Brown
#A52A2A
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF303D #30AFA2
analogous
#AF307C #AF303D #AF6230
triadic
#AF303D #3DAF30 #303DAF
tetradic
#AF303D #7CAF30 #30AFA2 #6230AF
square
#AF303D #7CAF30 #30AFA2 #6230AF
split-complementary
#AF303D #30AF62 #307CAF
monochromatic
#4F161C #7F232C #AF303D #CE4E5B #DC7E87
Accessibility & contrast
On white
6.34
#AF303D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#AF303D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF303D
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF303D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF303D | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534E3D
Deuteranopia (green-blind)
#736939
Tritanopia (blue-blind)
#C00336
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af303d; /* rgb */ color: rgb(175, 48, 61); /* oklch */ color: oklch(50.7% 0.163 19.7);
Tailwind
colors: {
custom: {
50: '#ce7272',
500: '#af303d',
950: '#000000',
},
}SCSS
$custom: #af303d; $custom-light: #ce7272; $custom-dark: #000000;
JSON
{
"hex": "#af303d",
"rgb": {
"r": 175,
"g": 48,
"b": 61
},
"hsl": {
"h": 353.858,
"s": 56.951,
"l": 43.725
},
"oklch": {
"l": 0.50733,
"c": 0.16266,
"h": 19.7
},
"luminance": 0.11565
}Semantic roles & 50–950 ramp
primary
#AF303D
secondary
#76C4BC
accent
#E0D148
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150808
muted
#837B7B