#AF272A#AF272A
#AF272A is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.6% C 0.172 H 25.2°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #AF272A |
|---|---|
| RGB | rgb(175, 39, 42) |
| HSL | hsl(359, 64%, 42%) |
| HSV | hsv(359, 78%, 69%) |
| CMYK | cmyk(0%, 77.7%, 76%, 31.4%) |
| CIE-LAB | lab(39.13, 53.82, 32.88) |
| CIE-LCH | lch(39.13, 63.07, 31.42°) |
| OKLab | oklab(49.61% 0.1558 0.0733) |
| OKLCH | oklch(49.61% 0.172 25.2) |
| XYZ | xyz(18.8249, 10.7351, 3.2709) |
| Luminance | 0.1073 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.88
Firebrick
#B22222
ΔE00 1.97
Scarlet
#BE0119
ΔE00 4.07
Lipstick Red
#C0022F
ΔE00 4.27
Brick
#A03623
ΔE00 5.36
Brownish Red
#9E3623
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF272A #27AFAC
analogous
#AF276E #AF272A #AF6827
triadic
#AF272A #2AAF27 #272AAF
tetradic
#AF272A #6EAF27 #27AFAC #6827AF
square
#AF272A #6EAF27 #27AFAC #6827AF
split-complementary
#AF272A #27AF68 #276EAF
monochromatic
#4B1112 #7D1C1E #AF272A #D43F42 #DF7173
Accessibility & contrast
On white
6.67
#AF272A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#AF272A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF272A
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF272A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF272A | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514929
Deuteranopia (green-blind)
#726725
Tritanopia (blue-blind)
#C1002A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af272a; /* rgb */ color: rgb(175, 39, 42); /* oklch */ color: oklch(49.6% 0.172 25.2);
Tailwind
colors: {
custom: {
50: '#d06d64',
500: '#af272a',
950: '#000000',
},
}SCSS
$custom: #af272a; $custom-light: #d06d64; $custom-dark: #000000;
JSON
{
"hex": "#af272a",
"rgb": {
"r": 175,
"g": 39,
"b": 42
},
"hsl": {
"h": 358.676,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.49608,
"c": 0.17221,
"h": 25.2
},
"luminance": 0.10732
}Semantic roles & 50–950 ramp
primary
#AF272A
secondary
#6BC6C4
accent
#E7E341
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A