#AF4228#AF4228
#AF4228 is a mid, vivid red. Relative luminance 0.132; OKLCH L 52.5% C 0.148 H 34.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4228 |
|---|---|
| RGB | rgb(175, 66, 40) |
| HSL | hsl(12, 63%, 42%) |
| HSV | hsv(12, 77%, 69%) |
| CMYK | cmyk(0%, 62.3%, 77.1%, 31.4%) |
| CIE-LAB | lab(43.01, 43.09, 38.19) |
| CIE-LCH | lch(43.01, 57.58, 41.55°) |
| OKLab | oklab(52.51% 0.1218 0.0843) |
| OKLCH | oklch(52.51% 0.148 34.7) |
| XYZ | xyz(20.0126, 13.1664, 3.4946) |
| Luminance | 0.1316 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rusty Red
#AF2F0D
ΔE00 4.38
Brick
#A03623
ΔE00 4.48
Brownish Red
#9E3623
ΔE00 4.79
Rust
#B7410E
ΔE00 5.36
Rust (survey)
#A83C09
ΔE00 5.76
Rust Red
#AA2704
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4228 #2895AF
analogous
#AF2851 #AF4228 #AF8628
triadic
#AF4228 #28AF42 #4228AF
tetradic
#AF4228 #51AF28 #2895AF #8628AF
square
#AF4228 #51AF28 #2895AF #8628AF
split-complementary
#AF4228 #28AF86 #2851AF
monochromatic
#4B1C11 #7D2F1D #AF4228 #D45D41 #DF8773
Accessibility & contrast
On white
5.78
#AF4228 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#AF4228 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4228
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4228 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4228 | 1.00 | 5.78 | 3.63 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615624
Deuteranopia (green-blind)
#7B6F24
Tritanopia (blue-blind)
#C1273D
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #af4228; /* rgb */ color: rgb(175, 66, 40); /* oklch */ color: oklch(52.5% 0.148 34.7);
Tailwind
colors: {
custom: {
50: '#cf7b63',
500: '#af4228',
950: '#000000',
},
}SCSS
$custom: #af4228; $custom-light: #cf7b63; $custom-dark: #000000;
JSON
{
"hex": "#af4228",
"rgb": {
"r": 175,
"g": 66,
"b": 40
},
"hsl": {
"h": 11.556,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.52509,
"c": 0.14816,
"h": 34.7
},
"luminance": 0.13164
}Semantic roles & 50–950 ramp
primary
#AF4228
secondary
#6DB5C6
accent
#C6E642
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150A05
muted
#837C7A