#AF3845#AF3845
#AF3845 is a mid, vivid red. Relative luminance 0.124; OKLCH L 51.7% C 0.154 H 18.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3845 |
|---|---|
| RGB | rgb(175, 56, 69) |
| HSL | hsl(353, 52%, 45%) |
| HSV | hsv(353, 68%, 69%) |
| CMYK | cmyk(0%, 68%, 60.6%, 31.4%) |
| CIE-LAB | lab(41.81, 49.07, 19.71) |
| CIE-LCH | lch(41.81, 52.88, 21.89°) |
| OKLab | oklab(51.74% 0.1464 0.0481) |
| OKLCH | oklch(51.74% 0.154 18.2) |
| XYZ | xyz(20.1695, 12.3748, 6.9556) |
| Luminance | 0.1237 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusty Red
#B9484E
ΔE00 4.41
Cardinal
#C41E3A
ΔE00 4.62
Rose Red
#BE013C
ΔE00 4.88
Dull Red
#BB3F3F
ΔE00 5.11
Rouge
#AB1239
ΔE00 5.30
Light Maroon
#A24857
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3845 #38AFA2
analogous
#AF3881 #AF3845 #AF6638
triadic
#AF3845 #45AF38 #3845AF
tetradic
#AF3845 #81AF38 #38AFA2 #6638AF
square
#AF3845 #81AF38 #38AFA2 #6638AF
split-complementary
#AF3845 #38AF66 #3881AF
monochromatic
#521A20 #812933 #AF3845 #CA5A66 #D98891
Accessibility & contrast
On white
6.04
#AF3845 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#AF3845 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3845
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3845 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3845 | 1.00 | 6.04 | 3.47 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#575345
Deuteranopia (green-blind)
#756C42
Tritanopia (blue-blind)
#C01D3E
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #af3845; /* rgb */ color: rgb(175, 56, 69); /* oklch */ color: oklch(51.7% 0.154 18.2);
Tailwind
colors: {
custom: {
50: '#cd7678',
500: '#af3845',
950: '#000000',
},
}SCSS
$custom: #af3845; $custom-light: #cd7678; $custom-dark: #000000;
JSON
{
"hex": "#af3845",
"rgb": {
"r": 175,
"g": 56,
"b": 69
},
"hsl": {
"h": 353.445,
"s": 51.515,
"l": 45.294
},
"oklch": {
"l": 0.51738,
"c": 0.15405,
"h": 18.2
},
"luminance": 0.12372
}Semantic roles & 50–950 ramp
primary
#AF3845
secondary
#80C3BC
accent
#DBCB4D
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150909
muted
#837B7B