#AF2528#AF2528
#AF2528 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.4% C 0.174 H 25.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2528 |
|---|---|
| RGB | rgb(175, 37, 40) |
| HSL | hsl(359, 65%, 42%) |
| HSV | hsv(359, 79%, 69%) |
| CMYK | cmyk(0%, 78.9%, 77.1%, 31.4%) |
| CIE-LAB | lab(38.89, 54.36, 33.79) |
| CIE-LCH | lch(38.89, 64.00, 31.86°) |
| OKLab | oklab(49.42% 0.1571 0.0748) |
| OKLCH | oklch(49.42% 0.174 25.5) |
| XYZ | xyz(18.7260, 10.5933, 3.0658) |
| Luminance | 0.1059 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.62
Brown
#A52A2A
ΔE00 1.92
Scarlet
#BE0119
ΔE00 3.75
Lipstick Red
#C0022F
ΔE00 4.45
Brick
#A03623
ΔE00 5.21
Brownish Red
#9E3623
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2528 #25AFAC
analogous
#AF256D #AF2528 #AF6725
triadic
#AF2528 #28AF25 #2528AF
tetradic
#AF2528 #6DAF25 #25AFAC #6725AF
square
#AF2528 #6DAF25 #25AFAC #6725AF
split-complementary
#AF2528 #25AF67 #256DAF
monochromatic
#4A1011 #7C1A1C #AF2528 #D63C3F #E06E71
Accessibility & contrast
On white
6.74
#AF2528 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#AF2528 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2528
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2528 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2528 | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504926
Deuteranopia (green-blind)
#726622
Tritanopia (blue-blind)
#C10028
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af2528; /* rgb */ color: rgb(175, 37, 40); /* oklch */ color: oklch(49.4% 0.174 25.5);
Tailwind
colors: {
custom: {
50: '#d06d62',
500: '#af2528',
950: '#000000',
},
}SCSS
$custom: #af2528; $custom-light: #d06d62; $custom-dark: #000000;
JSON
{
"hex": "#af2528",
"rgb": {
"r": 175,
"g": 37,
"b": 40
},
"hsl": {
"h": 358.696,
"s": 65.094,
"l": 41.569
},
"oklch": {
"l": 0.49419,
"c": 0.17398,
"h": 25.5
},
"luminance": 0.1059
}Semantic roles & 50–950 ramp
primary
#AF2528
secondary
#69C7C5
accent
#E8E440
background
#FEF6F5
surface
#FCECEA
border
#D5C7C6
text
#160805
muted
#847A79