#AF3138#AF3138
#AF3138 is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.7% C 0.162 H 22.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3138 |
|---|---|
| RGB | rgb(175, 49, 56) |
| HSL | hsl(357, 56%, 44%) |
| HSV | hsv(357, 72%, 69%) |
| CMYK | cmyk(0%, 72%, 68%, 31.4%) |
| CIE-LAB | lab(40.57, 51.02, 26.14) |
| CIE-LCH | lch(40.57, 57.33, 27.13°) |
| OKLab | oklab(50.74% 0.15 0.0613) |
| OKLCH | oklch(50.74% 0.162 22.2) |
| XYZ | xyz(19.4934, 11.5990, 4.9530) |
| Luminance | 0.1160 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.74
Cardinal
#C41E3A
ΔE00 3.98
Lipstick Red
#C0022F
ΔE00 4.01
Dull Red
#BB3F3F
ΔE00 4.15
Firebrick
#B22222
ΔE00 5.15
Rose Red
#BE013C
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3138 #31AFA8
analogous
#AF3177 #AF3138 #AF6931
triadic
#AF3138 #38AF31 #3138AF
tetradic
#AF3138 #77AF31 #31AFA8 #6931AF
square
#AF3138 #77AF31 #31AFA8 #6931AF
split-complementary
#AF3138 #31AF69 #3177AF
monochromatic
#4F1619 #7F2429 #AF3138 #CE4F56 #DB7F84
Accessibility & contrast
On white
6.33
#AF3138 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#AF3138 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3138
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3138 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3138 | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544E37
Deuteranopia (green-blind)
#746934
Tritanopia (blue-blind)
#C00335
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af3138; /* rgb */ color: rgb(175, 49, 56); /* oklch */ color: oklch(50.7% 0.162 22.2);
Tailwind
colors: {
custom: {
50: '#ce726e',
500: '#af3138',
950: '#000000',
},
}SCSS
$custom: #af3138; $custom-light: #ce726e; $custom-dark: #000000;
JSON
{
"hex": "#af3138",
"rgb": {
"r": 175,
"g": 49,
"b": 56
},
"hsl": {
"h": 356.667,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.50744,
"c": 0.16203,
"h": 22.2
},
"luminance": 0.11596
}Semantic roles & 50–950 ramp
primary
#AF3138
secondary
#78C4C0
accent
#E0D748
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A