#AF2C26#AF2C26
#AF2C26 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.0% C 0.169 H 27.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2C26 |
|---|---|
| RGB | rgb(175, 44, 38) |
| HSL | hsl(3, 64%, 42%) |
| HSV | hsv(3, 78%, 69%) |
| CMYK | cmyk(0%, 74.9%, 78.3%, 31.4%) |
| CIE-LAB | lab(39.68, 52.01, 35.79) |
| CIE-LCH | lch(39.68, 63.13, 34.53°) |
| OKLab | oklab(50% 0.1493 0.0786) |
| OKLCH | oklch(50% 0.169 27.8) |
| XYZ | xyz(18.9320, 11.0582, 2.9709) |
| Luminance | 0.1105 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.25
Brown
#A52A2A
ΔE00 2.91
Scarlet
#BE0119
ΔE00 3.55
Brick
#A03623
ΔE00 3.85
Brownish Red
#9E3623
ΔE00 4.12
Darkish Red
#A90308
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2C26 #26A9AF
analogous
#AF2665 #AF2C26 #AF7126
triadic
#AF2C26 #26AF2C #2C26AF
tetradic
#AF2C26 #65AF26 #26A9AF #7126AF
square
#AF2C26 #65AF26 #26A9AF #7126AF
split-complementary
#AF2C26 #26AF71 #2665AF
monochromatic
#4A1310 #7D1F1B #AF2C26 #D5443D #E07470
Accessibility & contrast
On white
6.54
#AF2C26 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#AF2C26 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2C26
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2C26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2C26 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544B24
Deuteranopia (green-blind)
#746820
Tritanopia (blue-blind)
#C1002C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2c26; /* rgb */ color: rgb(175, 44, 38); /* oklch */ color: oklch(50.0% 0.169 27.8);
Tailwind
colors: {
custom: {
50: '#d07061',
500: '#af2c26',
950: '#000000',
},
}SCSS
$custom: #af2c26; $custom-light: #d07061; $custom-dark: #000000;
JSON
{
"hex": "#af2c26",
"rgb": {
"r": 175,
"g": 44,
"b": 38
},
"hsl": {
"h": 2.628,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.50001,
"c": 0.16867,
"h": 27.8
},
"luminance": 0.11055
}Semantic roles & 50–950 ramp
primary
#AF2C26
secondary
#6AC3C7
accent
#E0E740
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79