#AF4238#AF4238
#AF4238 is a mid, vivid red. Relative luminance 0.133; OKLCH L 52.7% C 0.145 H 28.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4238 |
|---|---|
| RGB | rgb(175, 66, 56) |
| HSL | hsl(5, 52%, 45%) |
| HSV | hsv(5, 68%, 69%) |
| CMYK | cmyk(0%, 62.3%, 68%, 31.4%) |
| CIE-LAB | lab(43.21, 43.87, 29.36) |
| CIE-LCH | lch(43.21, 52.79, 33.79°) |
| OKLab | oklab(52.72% 0.1274 0.0684) |
| OKLCH | oklch(52.72% 0.145 28.2) |
| XYZ | xyz(20.3433, 13.2987, 5.2363) |
| Luminance | 0.1330 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 3.35
Reddish
#C44240
ΔE00 4.59
Firebrick
#B22222
ΔE00 5.38
Brown
#A52A2A
ΔE00 5.43
Brick
#A03623
ΔE00 5.53
Brownish Red
#9E3623
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4238 #38A5AF
analogous
#AF3869 #AF4238 #AF7D38
triadic
#AF4238 #38AF42 #4238AF
tetradic
#AF4238 #69AF38 #38A5AF #7D38AF
square
#AF4238 #69AF38 #38A5AF #7D38AF
split-complementary
#AF4238 #38AF7D #3869AF
monochromatic
#521F1A #813129 #AF4238 #CA635A #D98F88
Accessibility & contrast
On white
5.74
#AF4238 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#AF4238 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4238
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4238 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4238 | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5736
Deuteranopia (green-blind)
#7A6F35
Tritanopia (blue-blind)
#C02A40
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #af4238; /* rgb */ color: rgb(175, 66, 56); /* oklch */ color: oklch(52.7% 0.145 28.2);
Tailwind
colors: {
custom: {
50: '#ce7b6f',
500: '#af4238',
950: '#000000',
},
}SCSS
$custom: #af4238; $custom-light: #ce7b6f; $custom-dark: #000000;
JSON
{
"hex": "#af4238",
"rgb": {
"r": 175,
"g": 66,
"b": 56
},
"hsl": {
"h": 5.042,
"s": 51.515,
"l": 45.294
},
"oklch": {
"l": 0.52721,
"c": 0.14462,
"h": 28.2
},
"luminance": 0.13296
}Semantic roles & 50–950 ramp
primary
#AF4238
secondary
#80BDC3
accent
#CFDB4D
background
#FDF7F6
surface
#FBEEEC
border
#D4C9C7
text
#150A07
muted
#837C7A