#AF334F#AF334F
#AF334F is a mid, vivid red. Relative luminance 0.120; OKLCH L 51.4% C 0.160 H 11.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #AF334F |
|---|---|
| RGB | rgb(175, 51, 79) |
| HSL | hsl(346, 55%, 44%) |
| HSV | hsv(346, 71%, 69%) |
| CMYK | cmyk(0%, 70.9%, 54.9%, 31.4%) |
| CIE-LAB | lab(41.29, 51.80, 12.79) |
| CIE-LCH | lch(41.29, 53.36, 13.87°) |
| OKLab | oklab(51.43% 0.1567 0.0323) |
| OKLCH | oklch(51.43% 0.16 11.6) |
| XYZ | xyz(20.2762, 12.0489, 8.6536) |
| Luminance | 0.1205 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.67
Light Maroon
#A24857
ΔE00 4.56
Dark Rose
#B5485D
ΔE00 4.74
Purplish Red
#B0054B
ΔE00 4.89
Raspberry (survey)
#B00149
ΔE00 4.90
Ruby
#CA0147
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF334F #33AF93
analogous
#AF338D #AF334F #AF5533
triadic
#AF334F #4FAF33 #334FAF
tetradic
#AF334F #8DAF33 #33AF93 #5533AF
square
#AF334F #8DAF33 #33AF93 #5533AF
split-complementary
#AF334F #33AF55 #338DAF
monochromatic
#501724 #80253A #AF334F #CD526E #DB8296
Accessibility & contrast
On white
6.16
#AF334F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#AF334F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF334F
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF334F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF334F | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#52514F
Deuteranopia (green-blind)
#726B4C
Tritanopia (blue-blind)
#BF173E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af334f; /* rgb */ color: rgb(175, 51, 79); /* oklch */ color: oklch(51.4% 0.160 11.6);
Tailwind
colors: {
custom: {
50: '#cd7480',
500: '#af334f',
950: '#000000',
},
}SCSS
$custom: #af334f; $custom-light: #cd7480; $custom-dark: #000000;
JSON
{
"hex": "#af334f",
"rgb": {
"r": 175,
"g": 51,
"b": 79
},
"hsl": {
"h": 346.452,
"s": 54.867,
"l": 44.314
},
"oklch": {
"l": 0.51426,
"c": 0.16,
"h": 11.6
},
"luminance": 0.12046
}Semantic roles & 50–950 ramp
primary
#AF334F
secondary
#7AC4B3
accent
#DEBD4A
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15090A
muted
#837B7C