#AF283A#AF283A
#AF283A is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.9% C 0.170 H 19.1°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #AF283A |
|---|---|
| RGB | rgb(175, 40, 58) |
| HSL | hsl(352, 63%, 42%) |
| HSV | hsv(352, 77%, 69%) |
| CMYK | cmyk(0%, 77.1%, 66.9%, 31.4%) |
| CIE-LAB | lab(39.48, 54.26, 23.55) |
| CIE-LCH | lch(39.48, 59.15, 23.46°) |
| OKLab | oklab(49.94% 0.1608 0.0557) |
| OKLCH | oklch(49.94% 0.17 19.1) |
| XYZ | xyz(19.2038, 10.9399, 5.1026) |
| Luminance | 0.1094 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.44
Rose Red
#BE013C
ΔE00 3.48
Cardinal
#C41E3A
ΔE00 3.90
Lipstick Red
#C0022F
ΔE00 3.93
Brown
#A52A2A
ΔE00 5.07
Ruby
#CA0147
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF283A #28AF9D
analogous
#AF287E #AF283A #AF5A28
triadic
#AF283A #3AAF28 #283AAF
tetradic
#AF283A #7EAF28 #28AF9D #5A28AF
square
#AF283A #7EAF28 #28AF9D #5A28AF
split-complementary
#AF283A #28AF5A #287EAF
monochromatic
#4B1119 #7D1D29 #AF283A #D44154 #DF7381
Accessibility & contrast
On white
6.59
#AF283A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#AF283A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF283A
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF283A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF283A | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4B3A
Deuteranopia (green-blind)
#716736
Tritanopia (blue-blind)
#C00030
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af283a; /* rgb */ color: rgb(175, 40, 58); /* oklch */ color: oklch(49.9% 0.170 19.1);
Tailwind
colors: {
custom: {
50: '#cf6e70',
500: '#af283a',
950: '#000000',
},
}SCSS
$custom: #af283a; $custom-light: #cf6e70; $custom-dark: #000000;
JSON
{
"hex": "#af283a",
"rgb": {
"r": 175,
"g": 40,
"b": 58
},
"hsl": {
"h": 352,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.49942,
"c": 0.17015,
"h": 19.1
},
"luminance": 0.10937
}Semantic roles & 50–950 ramp
primary
#AF283A
secondary
#6DC6BA
accent
#E6D042
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A