#AF272F#AF272F
#AF272F is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.7% C 0.172 H 23.4°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #AF272F |
|---|---|
| RGB | rgb(175, 39, 47) |
| HSL | hsl(356, 64%, 42%) |
| HSV | hsv(356, 78%, 69%) |
| CMYK | cmyk(0%, 77.7%, 73.1%, 31.4%) |
| CIE-LAB | lab(39.20, 54.03, 29.97) |
| CIE-LCH | lch(39.20, 61.78, 29.01°) |
| OKLab | oklab(49.68% 0.1576 0.0681) |
| OKLCH | oklch(49.68% 0.172 23.4) |
| XYZ | xyz(18.9200, 10.7732, 3.7720) |
| Luminance | 0.1077 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.31
Lipstick Red
#C0022F
ΔE00 3.44
Firebrick
#B22222
ΔE00 3.46
Cardinal
#C41E3A
ΔE00 4.65
Scarlet
#BE0119
ΔE00 5.24
Dull Red
#BB3F3F
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF272F #27AFA7
analogous
#AF2773 #AF272F #AF6327
triadic
#AF272F #2FAF27 #272FAF
tetradic
#AF272F #73AF27 #27AFA7 #6327AF
square
#AF272F #73AF27 #27AFA7 #6327AF
split-complementary
#AF272F #27AF63 #2773AF
monochromatic
#4B1114 #7D1C22 #AF272F #D43F48 #DF7178
Accessibility & contrast
On white
6.66
#AF272F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#AF272F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF272F
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF272F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF272F | 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)
#504A2E
Deuteranopia (green-blind)
#72672A
Tritanopia (blue-blind)
#C1002C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af272f; /* rgb */ color: rgb(175, 39, 47); /* oklch */ color: oklch(49.7% 0.172 23.4);
Tailwind
colors: {
custom: {
50: '#cf6e67',
500: '#af272f',
950: '#000000',
},
}SCSS
$custom: #af272f; $custom-light: #cf6e67; $custom-dark: #000000;
JSON
{
"hex": "#af272f",
"rgb": {
"r": 175,
"g": 39,
"b": 47
},
"hsl": {
"h": 356.471,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.49677,
"c": 0.1717,
"h": 23.4
},
"luminance": 0.1077
}Semantic roles & 50–950 ramp
primary
#AF272F
secondary
#6BC6C1
accent
#E7DD41
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A