#AF334D#AF334D
#AF334D is a mid, vivid red. Relative luminance 0.120; OKLCH L 51.4% C 0.160 H 12.7°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #AF334D |
|---|---|
| RGB | rgb(175, 51, 77) |
| HSL | hsl(347, 55%, 44%) |
| HSV | hsv(347, 71%, 69%) |
| CMYK | cmyk(0%, 70.9%, 56%, 31.4%) |
| CIE-LAB | lab(41.25, 51.65, 13.98) |
| CIE-LCH | lch(41.25, 53.51, 15.15°) |
| OKLab | oklab(51.38% 0.1559 0.035) |
| OKLCH | oklch(51.38% 0.16 12.7) |
| XYZ | xyz(20.2045, 12.0202, 8.2760) |
| Luminance | 0.1202 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.14
Light Maroon
#A24857
ΔE00 4.65
Dark Rose
#B5485D
ΔE00 4.88
Rouge
#AB1239
ΔE00 5.10
Ruby
#CA0147
ΔE00 5.13
Rose Red
#BE013C
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF334D #33AF95
analogous
#AF338B #AF334D #AF5733
triadic
#AF334D #4DAF33 #334DAF
tetradic
#AF334D #8BAF33 #33AF95 #5733AF
square
#AF334D #8BAF33 #33AF95 #5733AF
split-complementary
#AF334D #33AF57 #338BAF
monochromatic
#501723 #802538 #AF334D #CD526C #DB8294
Accessibility & contrast
On white
6.17
#AF334D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#AF334D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF334D
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF334D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF334D | 1.00 | 6.17 | 3.40 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#52514D
Deuteranopia (green-blind)
#726B4A
Tritanopia (blue-blind)
#BF163E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af334d; /* rgb */ color: rgb(175, 51, 77); /* oklch */ color: oklch(51.4% 0.160 12.7);
Tailwind
colors: {
custom: {
50: '#cd747e',
500: '#af334d',
950: '#000000',
},
}SCSS
$custom: #af334d; $custom-light: #cd747e; $custom-dark: #000000;
JSON
{
"hex": "#af334d",
"rgb": {
"r": 175,
"g": 51,
"b": 77
},
"hsl": {
"h": 347.419,
"s": 54.867,
"l": 44.314
},
"oklch": {
"l": 0.51378,
"c": 0.15981,
"h": 12.7
},
"luminance": 0.12017
}Semantic roles & 50–950 ramp
primary
#AF334D
secondary
#7AC4B4
accent
#DEBF4A
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150909
muted
#837B7B