#AF3042#AF3042
#AF3042 is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.8% C 0.163 H 17.4°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3042 |
|---|---|
| RGB | rgb(175, 48, 66) |
| HSL | hsl(351, 57%, 44%) |
| HSV | hsv(351, 73%, 69%) |
| CMYK | cmyk(0%, 72.6%, 62.3%, 31.4%) |
| CIE-LAB | lab(40.61, 51.99, 20.01) |
| CIE-LCH | lch(40.61, 55.71, 21.05°) |
| OKLab | oklab(50.83% 0.1551 0.0485) |
| OKLCH | oklch(50.83% 0.163 17.4) |
| XYZ | xyz(19.7215, 11.6241, 6.3584) |
| Luminance | 0.1162 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 3.76
Rouge
#AB1239
ΔE00 3.90
Cardinal
#C41E3A
ΔE00 4.43
Ruby
#CA0147
ΔE00 5.27
Lipstick Red
#C0022F
ΔE00 5.39
Dusty Red
#B9484E
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3042 #30AF9D
analogous
#AF3081 #AF3042 #AF5D30
triadic
#AF3042 #42AF30 #3042AF
tetradic
#AF3042 #81AF30 #30AF9D #5D30AF
square
#AF3042 #81AF30 #30AF9D #5D30AF
split-complementary
#AF3042 #30AF5D #3081AF
monochromatic
#4F161E #7F2330 #AF3042 #CE4E60 #DC7E8B
Accessibility & contrast
On white
6.32
#AF3042 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#AF3042 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3042
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3042 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3042 | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524F42
Deuteranopia (green-blind)
#73693F
Tritanopia (blue-blind)
#C00638
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af3042; /* rgb */ color: rgb(175, 48, 66); /* oklch */ color: oklch(50.8% 0.163 17.4);
Tailwind
colors: {
custom: {
50: '#ce7276',
500: '#af3042',
950: '#000000',
},
}SCSS
$custom: #af3042; $custom-light: #ce7276; $custom-dark: #000000;
JSON
{
"hex": "#af3042",
"rgb": {
"r": 175,
"g": 48,
"b": 66
},
"hsl": {
"h": 351.496,
"s": 56.951,
"l": 43.725
},
"oklch": {
"l": 0.50831,
"c": 0.16253,
"h": 17.4
},
"luminance": 0.11621
}Semantic roles & 50–950 ramp
primary
#AF3042
secondary
#76C4B9
accent
#E0CB48
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B