#AF796D#AF796D
#AF796D is a light, moderate red. Relative luminance 0.239; OKLCH L 62.8% C 0.071 H 33.0°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #AF796D |
|---|---|
| RGB | rgb(175, 121, 109) |
| HSL | hsl(11, 29%, 56%) |
| HSV | hsv(11, 38%, 69%) |
| CMYK | cmyk(0%, 30.9%, 37.7%, 31.4%) |
| CIE-LAB | lab(55.98, 19.54, 15.08) |
| CIE-LCH | lch(55.98, 24.68, 37.65°) |
| OKLab | oklab(62.79% 0.0593 0.0385) |
| OKLCH | oklch(62.79% 0.071 33) |
| XYZ | xyz(27.2779, 23.8947, 17.6404) |
| Luminance | 0.2389 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Pinkish Brown
#B17261
ΔE00 3.17
Brownish Pink
#C27E79
ΔE00 5.33
Reddish Grey
#997570
ΔE00 6.15
Clay
#B66A50
ΔE00 7.29
Brownish
#9C6D57
ΔE00 7.36
Dusty Rose
#C0737A
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF796D #6DA3AF
analogous
#AF6D82 #AF796D #AF9A6D
triadic
#AF796D #6DAF79 #796DAF
tetradic
#AF796D #82AF6D #6DA3AF #9A6DAF
square
#AF796D #82AF6D #6DA3AF #9A6DAF
split-complementary
#AF796D #6DAF9A #6D82AF
monochromatic
#684239 #905B4F #AF796D #C59D95 #DAC2BC
Accessibility & contrast
On white
3.63
#AF796D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.78
#AF796D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF796D
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF796D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF796D | 1.00 | 3.63 | 5.78 | 5.78 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85806C
Deuteranopia (green-blind)
#928A6C
Tritanopia (blue-blind)
#BB7276
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #af796d; /* rgb */ color: rgb(175, 121, 109); /* oklch */ color: oklch(62.8% 0.071 33.0);
Tailwind
colors: {
custom: {
50: '#c8a096',
500: '#af796d',
950: '#000000',
},
}SCSS
$custom: #af796d; $custom-light: #c8a096; $custom-dark: #000000;
JSON
{
"hex": "#af796d",
"rgb": {
"r": 175,
"g": 121,
"b": 109
},
"hsl": {
"h": 10.909,
"s": 29.204,
"l": 55.686
},
"oklch": {
"l": 0.62792,
"c": 0.07067,
"h": 33
},
"luminance": 0.23893
}Semantic roles & 50–950 ramp
primary
#AF796D
secondary
#AEC5CA
accent
#B3C562
background
#FCF9F9
surface
#F8F2F2
border
#D1CCCC
text
#130E0D
muted
#827E7E