#AF272D#AF272D
#AF272D is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.6% C 0.172 H 24.1°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #AF272D |
|---|---|
| RGB | rgb(175, 39, 45) |
| HSL | hsl(357, 64%, 42%) |
| HSV | hsv(357, 78%, 69%) |
| CMYK | cmyk(0%, 77.7%, 74.3%, 31.4%) |
| CIE-LAB | lab(39.17, 53.94, 31.14) |
| CIE-LCH | lch(39.17, 62.29, 30.00°) |
| OKLab | oklab(49.65% 0.1569 0.0703) |
| OKLCH | oklch(49.65% 0.172 24.1) |
| XYZ | xyz(18.8806, 10.7574, 3.5644) |
| Luminance | 0.1075 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.02
Firebrick
#B22222
ΔE00 2.85
Lipstick Red
#C0022F
ΔE00 3.72
Scarlet
#BE0119
ΔE00 4.74
Cardinal
#C41E3A
ΔE00 5.03
Dull Red
#BB3F3F
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF272D #27AFA9
analogous
#AF2771 #AF272D #AF6527
triadic
#AF272D #2DAF27 #272DAF
tetradic
#AF272D #71AF27 #27AFA9 #6527AF
square
#AF272D #71AF27 #27AFA9 #6527AF
split-complementary
#AF272D #27AF65 #2771AF
monochromatic
#4B1113 #7D1C20 #AF272D #D43F46 #DF7176
Accessibility & contrast
On white
6.66
#AF272D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#AF272D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF272D
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF272D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF272D | 1.00 | 6.66 | 3.15 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514A2C
Deuteranopia (green-blind)
#726728
Tritanopia (blue-blind)
#C1002B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af272d; /* rgb */ color: rgb(175, 39, 45); /* oklch */ color: oklch(49.6% 0.172 24.1);
Tailwind
colors: {
custom: {
50: '#cf6e66',
500: '#af272d',
950: '#000000',
},
}SCSS
$custom: #af272d; $custom-light: #cf6e66; $custom-dark: #000000;
JSON
{
"hex": "#af272d",
"rgb": {
"r": 175,
"g": 39,
"b": 45
},
"hsl": {
"h": 357.353,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.49649,
"c": 0.17189,
"h": 24.1
},
"luminance": 0.10754
}Semantic roles & 50–950 ramp
primary
#AF272D
secondary
#6BC6C2
accent
#E7DF41
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A