#AF333D#AF333D
#AF333D is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.0% C 0.160 H 20.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #AF333D |
|---|---|
| RGB | rgb(175, 51, 61) |
| HSL | hsl(355, 55%, 44%) |
| HSV | hsv(355, 71%, 69%) |
| CMYK | cmyk(0%, 70.9%, 65.1%, 31.4%) |
| CIE-LAB | lab(40.93, 50.55, 23.52) |
| CIE-LCH | lch(40.93, 55.75, 24.96°) |
| OKLab | oklab(51.04% 0.1495 0.056) |
| OKLCH | oklch(51.04% 0.16 20.5) |
| XYZ | xyz(19.7074, 11.8214, 5.6580) |
| Luminance | 0.1182 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 3.86
Dull Red
#BB3F3F
ΔE00 4.39
Lipstick Red
#C0022F
ΔE00 4.50
Rose Red
#BE013C
ΔE00 4.77
Brown
#A52A2A
ΔE00 4.91
Rouge
#AB1239
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF333D #33AFA5
analogous
#AF337B #AF333D #AF6733
triadic
#AF333D #3DAF33 #333DAF
tetradic
#AF333D #7BAF33 #33AFA5 #6733AF
square
#AF333D #7BAF33 #33AFA5 #6733AF
split-complementary
#AF333D #33AF67 #337BAF
monochromatic
#50171C #80252C #AF333D #CD525C #DB8289
Accessibility & contrast
On white
6.24
#AF333D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#AF333D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF333D
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF333D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF333D | 1.00 | 6.24 | 3.36 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#55503C
Deuteranopia (green-blind)
#746A39
Tritanopia (blue-blind)
#C00D38
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af333d; /* rgb */ color: rgb(175, 51, 61); /* oklch */ color: oklch(51.0% 0.160 20.5);
Tailwind
colors: {
custom: {
50: '#ce7372',
500: '#af333d',
950: '#000000',
},
}SCSS
$custom: #af333d; $custom-light: #ce7372; $custom-dark: #000000;
JSON
{
"hex": "#af333d",
"rgb": {
"r": 175,
"g": 51,
"b": 61
},
"hsl": {
"h": 355.161,
"s": 54.867,
"l": 44.314
},
"oklch": {
"l": 0.51038,
"c": 0.15968,
"h": 20.5
},
"luminance": 0.11819
}Semantic roles & 50–950 ramp
primary
#AF333D
secondary
#7AC4BE
accent
#DED24A
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150908
muted
#837B7B