#AF334E#AF334E
#AF334E is a mid, vivid red. Relative luminance 0.120; OKLCH L 51.4% C 0.160 H 12.1°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #AF334E |
|---|---|
| RGB | rgb(175, 51, 78) |
| HSL | hsl(347, 55%, 44%) |
| HSV | hsv(347, 71%, 69%) |
| CMYK | cmyk(0%, 70.9%, 55.4%, 31.4%) |
| CIE-LAB | lab(41.27, 51.72, 13.39) |
| CIE-LCH | lch(41.27, 53.43, 14.51°) |
| OKLab | oklab(51.4% 0.1563 0.0337) |
| OKLCH | oklch(51.4% 0.16 12.1) |
| XYZ | xyz(20.2400, 12.0344, 8.4633) |
| Luminance | 0.1203 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.90
Light Maroon
#A24857
ΔE00 4.60
Dark Rose
#B5485D
ΔE00 4.80
Raspberry (survey)
#B00149
ΔE00 5.01
Purplish Red
#B0054B
ΔE00 5.04
Ruby
#CA0147
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF334E #33AF94
analogous
#AF338C #AF334E #AF5633
triadic
#AF334E #4EAF33 #334EAF
tetradic
#AF334E #8CAF33 #33AF94 #5633AF
square
#AF334E #8CAF33 #33AF94 #5633AF
split-complementary
#AF334E #33AF56 #338CAF
monochromatic
#501724 #802539 #AF334E #CD526D #DB8295
Accessibility & contrast
On white
6.16
#AF334E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#AF334E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF334E
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF334E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF334E | 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)
#52514E
Deuteranopia (green-blind)
#726B4B
Tritanopia (blue-blind)
#BF173E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af334e; /* rgb */ color: rgb(175, 51, 78); /* oklch */ color: oklch(51.4% 0.160 12.1);
Tailwind
colors: {
custom: {
50: '#cd747f',
500: '#af334e',
950: '#000000',
},
}SCSS
$custom: #af334e; $custom-light: #cd747f; $custom-dark: #000000;
JSON
{
"hex": "#af334e",
"rgb": {
"r": 175,
"g": 51,
"b": 78
},
"hsl": {
"h": 346.935,
"s": 54.867,
"l": 44.314
},
"oklch": {
"l": 0.51402,
"c": 0.15989,
"h": 12.1
},
"luminance": 0.12032
}Semantic roles & 50–950 ramp
primary
#AF334E
secondary
#7AC4B4
accent
#DEBE4A
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15090A
muted
#837B7C