#AF273C#AF273C
#AF273C is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.9% C 0.171 H 18.0°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #AF273C |
|---|---|
| RGB | rgb(175, 39, 60) |
| HSL | hsl(351, 64%, 42%) |
| HSV | hsv(351, 78%, 69%) |
| CMYK | cmyk(0%, 77.7%, 65.7%, 31.4%) |
| CIE-LAB | lab(39.40, 54.69, 22.20) |
| CIE-LCH | lch(39.40, 59.02, 22.09°) |
| OKLab | oklab(49.9% 0.1626 0.0529) |
| OKLCH | oklch(49.9% 0.171 18) |
| XYZ | xyz(19.2224, 10.8942, 5.3647) |
| Luminance | 0.1089 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.91
Rose Red
#BE013C
ΔE00 3.10
Cardinal
#C41E3A
ΔE00 4.16
Lipstick Red
#C0022F
ΔE00 4.38
Ruby
#CA0147
ΔE00 5.46
Brown
#A52A2A
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF273C #27AF9A
analogous
#AF2780 #AF273C #AF5627
triadic
#AF273C #3CAF27 #273CAF
tetradic
#AF273C #80AF27 #27AF9A #5627AF
square
#AF273C #80AF27 #27AF9A #5627AF
split-complementary
#AF273C #27AF56 #2780AF
monochromatic
#4B111A #7D1C2B #AF273C #D43F56 #DF7182
Accessibility & contrast
On white
6.61
#AF273C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#AF273C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF273C
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF273C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF273C | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4B3C
Deuteranopia (green-blind)
#716738
Tritanopia (blue-blind)
#C00030
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af273c; /* rgb */ color: rgb(175, 39, 60); /* oklch */ color: oklch(49.9% 0.171 18.0);
Tailwind
colors: {
custom: {
50: '#ce6e71',
500: '#af273c',
950: '#000000',
},
}SCSS
$custom: #af273c; $custom-light: #ce6e71; $custom-dark: #000000;
JSON
{
"hex": "#af273c",
"rgb": {
"r": 175,
"g": 39,
"b": 60
},
"hsl": {
"h": 350.735,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.49896,
"c": 0.17096,
"h": 18
},
"luminance": 0.10891
}Semantic roles & 50–950 ramp
primary
#AF273C
secondary
#6BC6B8
accent
#E7CD41
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A