#AF3A2C#AF3A2C
#AF3A2C is a mid, vivid red. Relative luminance 0.123; OKLCH L 51.6% C 0.155 H 30.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3A2C |
|---|---|
| RGB | rgb(175, 58, 44) |
| HSL | hsl(6, 60%, 43%) |
| HSV | hsv(6, 75%, 69%) |
| CMYK | cmyk(0%, 66.9%, 74.9%, 31.4%) |
| CIE-LAB | lab(41.73, 46.82, 34.59) |
| CIE-LCH | lch(41.73, 58.21, 36.46°) |
| OKLab | oklab(51.56% 0.1342 0.0775) |
| OKLCH | oklch(51.56% 0.155 30) |
| XYZ | xyz(19.6490, 12.3248, 3.7267) |
| Luminance | 0.1232 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brick
#A03623
ΔE00 3.60
Firebrick
#B22222
ΔE00 3.70
Brownish Red
#9E3623
ΔE00 3.94
Brown
#A52A2A
ΔE00 4.73
Dull Red
#BB3F3F
ΔE00 5.30
Scarlet
#BE0119
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3A2C #2CA1AF
analogous
#AF2C60 #AF3A2C #AF7B2C
triadic
#AF3A2C #2CAF3A #3A2CAF
tetradic
#AF3A2C #60AF2C #2CA1AF #7B2CAF
square
#AF3A2C #60AF2C #2CA1AF #7B2CAF
split-complementary
#AF3A2C #2CAF7B #2C60AF
monochromatic
#4D1A13 #7E2A20 #AF3A2C #D15647 #DD8378
Accessibility & contrast
On white
6.06
#AF3A2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#AF3A2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3A2C
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3A2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3A2C | 1.00 | 6.06 | 3.46 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B522A
Deuteranopia (green-blind)
#786C28
Tritanopia (blue-blind)
#C11938
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #af3a2c; /* rgb */ color: rgb(175, 58, 44); /* oklch */ color: oklch(51.6% 0.155 30.0);
Tailwind
colors: {
custom: {
50: '#cf7666',
500: '#af3a2c',
950: '#000000',
},
}SCSS
$custom: #af3a2c; $custom-light: #cf7666; $custom-dark: #000000;
JSON
{
"hex": "#af3a2c",
"rgb": {
"r": 175,
"g": 58,
"b": 44
},
"hsl": {
"h": 6.412,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.51556,
"c": 0.15501,
"h": 30
},
"luminance": 0.12322
}Semantic roles & 50–950 ramp
primary
#AF3A2C
secondary
#72BCC5
accent
#D2E345
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A