#AF2730#AF2730
#AF2730 is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.7% C 0.172 H 23.0°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2730 |
|---|---|
| RGB | rgb(175, 39, 48) |
| HSL | hsl(356, 64%, 42%) |
| HSV | hsv(356, 78%, 69%) |
| CMYK | cmyk(0%, 77.7%, 72.6%, 31.4%) |
| CIE-LAB | lab(39.21, 54.07, 29.38) |
| CIE-LCH | lch(39.21, 61.54, 28.52°) |
| OKLab | oklab(49.69% 0.158 0.0671) |
| OKLCH | oklch(49.69% 0.172 23) |
| XYZ | xyz(18.9404, 10.7814, 3.8794) |
| Luminance | 0.1078 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.51
Lipstick Red
#C0022F
ΔE00 3.33
Firebrick
#B22222
ΔE00 3.77
Cardinal
#C41E3A
ΔE00 4.48
Dull Red
#BB3F3F
ΔE00 5.33
Scarlet
#BE0119
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2730 #27AFA6
analogous
#AF2774 #AF2730 #AF6227
triadic
#AF2730 #30AF27 #2730AF
tetradic
#AF2730 #74AF27 #27AFA6 #6227AF
square
#AF2730 #74AF27 #27AFA6 #6227AF
split-complementary
#AF2730 #27AF62 #2774AF
monochromatic
#4B1115 #7D1C22 #AF2730 #D43F49 #DF7178
Accessibility & contrast
On white
6.65
#AF2730 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#AF2730 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2730
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2730 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2730 | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504A2F
Deuteranopia (green-blind)
#72672B
Tritanopia (blue-blind)
#C1002C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af2730; /* rgb */ color: rgb(175, 39, 48); /* oklch */ color: oklch(49.7% 0.172 23.0);
Tailwind
colors: {
custom: {
50: '#cf6e68',
500: '#af2730',
950: '#000000',
},
}SCSS
$custom: #af2730; $custom-light: #cf6e68; $custom-dark: #000000;
JSON
{
"hex": "#af2730",
"rgb": {
"r": 175,
"g": 39,
"b": 48
},
"hsl": {
"h": 356.029,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.49692,
"c": 0.17161,
"h": 23
},
"luminance": 0.10778
}Semantic roles & 50–950 ramp
primary
#AF2730
secondary
#6BC6C0
accent
#E7DC41
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A