#AF5151#AF5151
#AF5151 is a mid, vivid red. Relative luminance 0.156; OKLCH L 55.3% C 0.123 H 21.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #AF5151 |
|---|---|
| RGB | rgb(175, 81, 81) |
| HSL | hsl(0, 37%, 50%) |
| HSV | hsv(0, 54%, 69%) |
| CMYK | cmyk(0%, 53.7%, 53.7%, 31.4%) |
| CIE-LAB | lab(46.44, 38.36, 18.55) |
| CIE-LCH | lch(46.44, 42.61, 25.80°) |
| OKLab | oklab(55.3% 0.1145 0.0461) |
| OKLCH | oklch(55.3% 0.123 21.9) |
| XYZ | xyz(22.1085, 15.5954, 9.6289) |
| Luminance | 0.1559 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusty Red
#B9484E
ΔE00 2.71
Dull Red
#BB3F3F
ΔE00 5.00
Reddish
#C44240
ΔE00 5.72
Dark Rose
#B5485D
ΔE00 6.18
Light Maroon
#A24857
ΔE00 6.46
Dark Salmon
#C85A53
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF5151 #51AFAF
analogous
#AF5180 #AF5151 #AF8051
triadic
#AF5151 #51AF51 #5151AF
tetradic
#AF5151 #80AF51 #51AFAF #8051AF
square
#AF5151 #80AF51 #51AFAF #8051AF
split-complementary
#AF5151 #51AF80 #5180AF
monochromatic
#5C2A2A #853D3D #AF5151 #C27B7B #D6A5A5
Accessibility & contrast
On white
5.10
#AF5151 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#AF5151 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF5151
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF5151 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF5151 | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#676250
Deuteranopia (green-blind)
#7E754F
Tritanopia (blue-blind)
#BE4252
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #af5151; /* rgb */ color: rgb(175, 81, 81); /* oklch */ color: oklch(55.3% 0.123 21.9);
Tailwind
colors: {
custom: {
50: '#cb8581',
500: '#af5151',
950: '#000000',
},
}SCSS
$custom: #af5151; $custom-light: #cb8581; $custom-dark: #000000;
JSON
{
"hex": "#af5151",
"rgb": {
"r": 175,
"g": 81,
"b": 81
},
"hsl": {
"h": 0,
"s": 37.008,
"l": 50.196
},
"oklch": {
"l": 0.55299,
"c": 0.12339,
"h": 21.9
},
"luminance": 0.15593
}Semantic roles & 50–950 ramp
primary
#AF5151
secondary
#99C3C3
accent
#CDCD5B
background
#FDF8F7
surface
#FAEFEE
border
#D3CAC9
text
#140B0A
muted
#837C7C