#AF334C#AF334C
#AF334C is a mid, vivid red. Relative luminance 0.120; OKLCH L 51.4% C 0.160 H 13.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #AF334C |
|---|---|
| RGB | rgb(175, 51, 76) |
| HSL | hsl(348, 55%, 44%) |
| HSV | hsv(348, 71%, 69%) |
| CMYK | cmyk(0%, 70.9%, 56.6%, 31.4%) |
| CIE-LAB | lab(41.23, 51.57, 14.58) |
| CIE-LCH | lch(41.23, 53.59, 15.79°) |
| OKLab | oklab(51.35% 0.1555 0.0364) |
| OKLCH | oklch(51.35% 0.16 13.2) |
| XYZ | xyz(20.1694, 12.0062, 8.0914) |
| Luminance | 0.1200 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.39
Light Maroon
#A24857
ΔE00 4.73
Rouge
#AB1239
ΔE00 4.93
Rose Red
#BE013C
ΔE00 4.94
Dark Rose
#B5485D
ΔE00 4.98
Ruby
#CA0147
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF334C #33AF96
analogous
#AF338A #AF334C #AF5833
triadic
#AF334C #4CAF33 #334CAF
tetradic
#AF334C #8AAF33 #33AF96 #5833AF
square
#AF334C #8AAF33 #33AF96 #5833AF
split-complementary
#AF334C #33AF58 #338AAF
monochromatic
#501723 #802537 #AF334C #CD526B #DB8294
Accessibility & contrast
On white
6.18
#AF334C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#AF334C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF334C
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF334C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF334C | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#52514C
Deuteranopia (green-blind)
#726B49
Tritanopia (blue-blind)
#BF163D
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af334c; /* rgb */ color: rgb(175, 51, 76); /* oklch */ color: oklch(51.4% 0.160 13.2);
Tailwind
colors: {
custom: {
50: '#cd747d',
500: '#af334c',
950: '#000000',
},
}SCSS
$custom: #af334c; $custom-light: #cd747d; $custom-dark: #000000;
JSON
{
"hex": "#af334c",
"rgb": {
"r": 175,
"g": 51,
"b": 76
},
"hsl": {
"h": 347.903,
"s": 54.867,
"l": 44.314
},
"oklch": {
"l": 0.51354,
"c": 0.15973,
"h": 13.2
},
"luminance": 0.12003
}Semantic roles & 50–950 ramp
primary
#AF334C
secondary
#7AC4B5
accent
#DEC04A
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150909
muted
#837B7B