#AF3143#AF3143
#AF3143 is a mid, vivid red. Relative luminance 0.117; OKLCH L 51.0% C 0.162 H 17.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3143 |
|---|---|
| RGB | rgb(175, 49, 67) |
| HSL | hsl(351, 56%, 44%) |
| HSV | hsv(351, 72%, 69%) |
| CMYK | cmyk(0%, 72%, 61.7%, 31.4%) |
| CIE-LAB | lab(40.77, 51.68, 19.59) |
| CIE-LCH | lch(40.77, 55.27, 20.76°) |
| OKLab | oklab(50.95% 0.1543 0.0476) |
| OKLCH | oklch(50.95% 0.162 17.1) |
| XYZ | xyz(19.7926, 11.7187, 6.5288) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 3.87
Rouge
#AB1239
ΔE00 4.04
Cardinal
#C41E3A
ΔE00 4.55
Ruby
#CA0147
ΔE00 5.24
Lipstick Red
#C0022F
ΔE00 5.59
Dusty Red
#B9484E
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3143 #31AF9D
analogous
#AF3182 #AF3143 #AF5E31
triadic
#AF3143 #43AF31 #3143AF
tetradic
#AF3143 #82AF31 #31AF9D #5E31AF
square
#AF3143 #82AF31 #31AF9D #5E31AF
split-complementary
#AF3143 #31AF5E #3182AF
monochromatic
#4F161E #7F2431 #AF3143 #CE4F61 #DB7F8C
Accessibility & contrast
On white
6.28
#AF3143 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#AF3143 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3143
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3143 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3143 | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534F43
Deuteranopia (green-blind)
#736A40
Tritanopia (blue-blind)
#C00B39
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af3143; /* rgb */ color: rgb(175, 49, 67); /* oklch */ color: oklch(51.0% 0.162 17.1);
Tailwind
colors: {
custom: {
50: '#ce7277',
500: '#af3143',
950: '#000000',
},
}SCSS
$custom: #af3143; $custom-light: #ce7277; $custom-dark: #000000;
JSON
{
"hex": "#af3143",
"rgb": {
"r": 175,
"g": 49,
"b": 67
},
"hsl": {
"h": 351.429,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.50951,
"c": 0.16152,
"h": 17.1
},
"luminance": 0.11716
}Semantic roles & 50–950 ramp
primary
#AF3143
secondary
#78C4B9
accent
#E0CA48
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150908
muted
#837B7B