#AF283D#AF283D
#AF283D is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.0% C 0.170 H 17.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #AF283D |
|---|---|
| RGB | rgb(175, 40, 61) |
| HSL | hsl(351, 63%, 42%) |
| HSV | hsv(351, 77%, 69%) |
| CMYK | cmyk(0%, 77.1%, 65.1%, 31.4%) |
| CIE-LAB | lab(39.53, 54.43, 21.74) |
| CIE-LCH | lch(39.53, 58.61, 21.77°) |
| OKLab | oklab(50% 0.162 0.052) |
| OKLCH | oklch(50% 0.17 17.8) |
| XYZ | xyz(19.2824, 10.9714, 5.5163) |
| Luminance | 0.1097 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.94
Rose Red
#BE013C
ΔE00 3.11
Cardinal
#C41E3A
ΔE00 4.22
Lipstick Red
#C0022F
ΔE00 4.56
Ruby
#CA0147
ΔE00 5.36
Brown
#A52A2A
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF283D #28AF9A
analogous
#AF2880 #AF283D #AF5728
triadic
#AF283D #3DAF28 #283DAF
tetradic
#AF283D #80AF28 #28AF9A #5728AF
square
#AF283D #80AF28 #28AF9A #5728AF
split-complementary
#AF283D #28AF57 #2880AF
monochromatic
#4B111A #7D1D2C #AF283D #D44158 #DF7383
Accessibility & contrast
On white
6.58
#AF283D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#AF283D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF283D
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF283D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF283D | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4B3D
Deuteranopia (green-blind)
#716739
Tritanopia (blue-blind)
#C00031
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af283d; /* rgb */ color: rgb(175, 40, 61); /* oklch */ color: oklch(50.0% 0.170 17.8);
Tailwind
colors: {
custom: {
50: '#ce6e72',
500: '#af283d',
950: '#000000',
},
}SCSS
$custom: #af283d; $custom-light: #ce6e72; $custom-dark: #000000;
JSON
{
"hex": "#af283d",
"rgb": {
"r": 175,
"g": 40,
"b": 61
},
"hsl": {
"h": 350.667,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.49999,
"c": 0.17008,
"h": 17.8
},
"luminance": 0.10968
}Semantic roles & 50–950 ramp
primary
#AF283D
secondary
#6DC6B8
accent
#E6CC42
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A