#AF3242#AF3242
#AF3242 is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.0% C 0.161 H 17.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3242 |
|---|---|
| RGB | rgb(175, 50, 66) |
| HSL | hsl(352, 56%, 44%) |
| HSV | hsv(352, 71%, 69%) |
| CMYK | cmyk(0%, 71.4%, 62.3%, 31.4%) |
| CIE-LAB | lab(40.88, 51.24, 20.37) |
| CIE-LCH | lch(40.88, 55.14, 21.68°) |
| OKLab | oklab(51.03% 0.1527 0.0493) |
| OKLCH | oklch(51.03% 0.161 17.9) |
| XYZ | xyz(19.8052, 11.7913, 6.3863) |
| Luminance | 0.1179 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 4.03
Rouge
#AB1239
ΔE00 4.28
Cardinal
#C41E3A
ΔE00 4.32
Lipstick Red
#C0022F
ΔE00 5.34
Dusty Red
#B9484E
ΔE00 5.36
Ruby
#CA0147
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3242 #32AF9F
analogous
#AF3281 #AF3242 #AF6132
triadic
#AF3242 #42AF32 #3242AF
tetradic
#AF3242 #81AF32 #32AF9F #6132AF
square
#AF3242 #81AF32 #32AF9F #6132AF
split-complementary
#AF3242 #32AF61 #3281AF
monochromatic
#50171E #7F2430 #AF3242 #CD5161 #DB818C
Accessibility & contrast
On white
6.25
#AF3242 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#AF3242 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3242
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3242 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3242 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#545042
Deuteranopia (green-blind)
#736A3F
Tritanopia (blue-blind)
#C00D39
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af3242; /* rgb */ color: rgb(175, 50, 66); /* oklch */ color: oklch(51.0% 0.161 17.9);
Tailwind
colors: {
custom: {
50: '#ce7376',
500: '#af3242',
950: '#000000',
},
}SCSS
$custom: #af3242; $custom-light: #ce7376; $custom-dark: #000000;
JSON
{
"hex": "#af3242",
"rgb": {
"r": 175,
"g": 50,
"b": 66
},
"hsl": {
"h": 352.32,
"s": 55.556,
"l": 44.118
},
"oklch": {
"l": 0.51032,
"c": 0.1605,
"h": 17.9
},
"luminance": 0.11789
}Semantic roles & 50–950 ramp
primary
#AF3242
secondary
#79C4BA
accent
#DFCC49
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150908
muted
#837B7B