#AF2E27#AF2E27
#AF2E27 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.2% C 0.167 H 28.0°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E27 |
|---|---|
| RGB | rgb(175, 46, 39) |
| HSL | hsl(3, 64%, 42%) |
| HSV | hsv(3, 78%, 69%) |
| CMYK | cmyk(0%, 73.7%, 77.7%, 31.4%) |
| CIE-LAB | lab(39.94, 51.34, 35.50) |
| CIE-LCH | lch(39.94, 62.42, 34.66°) |
| OKLab | oklab(50.2% 0.1474 0.0782) |
| OKLCH | oklch(50.2% 0.167 28) |
| XYZ | xyz(19.0246, 11.2174, 3.0825) |
| Luminance | 0.1121 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.53
Brown
#A52A2A
ΔE00 3.04
Scarlet
#BE0119
ΔE00 3.75
Brick
#A03623
ΔE00 3.76
Brownish Red
#9E3623
ΔE00 4.05
Darkish Red
#A90308
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E27 #27A8AF
analogous
#AF2764 #AF2E27 #AF7227
triadic
#AF2E27 #27AF2E #2E27AF
tetradic
#AF2E27 #64AF27 #27A8AF #7227AF
square
#AF2E27 #64AF27 #27A8AF #7227AF
split-complementary
#AF2E27 #27AF72 #2764AF
monochromatic
#4B1411 #7D211C #AF2E27 #D4473F #DF7771
Accessibility & contrast
On white
6.48
#AF2E27 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#AF2E27 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E27
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E27 | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554C25
Deuteranopia (green-blind)
#756822
Tritanopia (blue-blind)
#C1002E
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2e27; /* rgb */ color: rgb(175, 46, 39); /* oklch */ color: oklch(50.2% 0.167 28.0);
Tailwind
colors: {
custom: {
50: '#d07062',
500: '#af2e27',
950: '#000000',
},
}SCSS
$custom: #af2e27; $custom-light: #d07062; $custom-dark: #000000;
JSON
{
"hex": "#af2e27",
"rgb": {
"r": 175,
"g": 46,
"b": 39
},
"hsl": {
"h": 3.088,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.50203,
"c": 0.16683,
"h": 28
},
"luminance": 0.11214
}Semantic roles & 50–950 ramp
primary
#AF2E27
secondary
#6BC2C6
accent
#DEE741
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79