#AF293D#AF293D
#AF293D is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.1% C 0.169 H 18.0°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #AF293D |
|---|---|
| RGB | rgb(175, 41, 61) |
| HSL | hsl(351, 62%, 42%) |
| HSV | hsv(351, 77%, 69%) |
| CMYK | cmyk(0%, 76.6%, 65.1%, 31.4%) |
| CIE-LAB | lab(39.65, 54.11, 21.89) |
| CIE-LCH | lch(39.65, 58.37, 22.02°) |
| OKLab | oklab(50.08% 0.1609 0.0523) |
| OKLCH | oklch(50.08% 0.169 18) |
| XYZ | xyz(19.3165, 11.0397, 5.5277) |
| Luminance | 0.1104 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.11
Rose Red
#BE013C
ΔE00 3.21
Cardinal
#C41E3A
ΔE00 4.14
Lipstick Red
#C0022F
ΔE00 4.51
Ruby
#CA0147
ΔE00 5.43
Brown
#A52A2A
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF293D #29AF9B
analogous
#AF2980 #AF293D #AF5829
triadic
#AF293D #3DAF29 #293DAF
tetradic
#AF293D #80AF29 #29AF9B #5829AF
square
#AF293D #80AF29 #29AF9B #5829AF
split-complementary
#AF293D #29AF58 #2980AF
monochromatic
#4C121A #7D1D2C #AF293D #D34258 #DE7484
Accessibility & contrast
On white
6.55
#AF293D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#AF293D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF293D
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF293D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF293D | 1.00 | 6.55 | 3.21 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4B3D
Deuteranopia (green-blind)
#716839
Tritanopia (blue-blind)
#C00032
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af293d; /* rgb */ color: rgb(175, 41, 61); /* oklch */ color: oklch(50.1% 0.169 18.0);
Tailwind
colors: {
custom: {
50: '#ce6f72',
500: '#af293d',
950: '#000000',
},
}SCSS
$custom: #af293d; $custom-light: #ce6f72; $custom-dark: #000000;
JSON
{
"hex": "#af293d",
"rgb": {
"r": 175,
"g": 41,
"b": 61
},
"hsl": {
"h": 351.045,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.50084,
"c": 0.16921,
"h": 18
},
"luminance": 0.11037
}Semantic roles & 50–950 ramp
primary
#AF293D
secondary
#6EC6B9
accent
#E5CD43
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A