#AF334B#AF334B
#AF334B is a mid, vivid red. Relative luminance 0.120; OKLCH L 51.3% C 0.160 H 13.7°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #AF334B |
|---|---|
| RGB | rgb(175, 51, 75) |
| HSL | hsl(348, 55%, 44%) |
| HSV | hsv(348, 71%, 69%) |
| CMYK | cmyk(0%, 70.9%, 57.1%, 31.4%) |
| CIE-LAB | lab(41.20, 51.49, 15.18) |
| CIE-LCH | lch(41.20, 53.68, 16.42°) |
| OKLab | oklab(51.33% 0.1551 0.0378) |
| OKLCH | oklch(51.33% 0.16 13.7) |
| XYZ | xyz(20.1349, 11.9924, 7.9098) |
| Luminance | 0.1199 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.65
Rose Red
#BE013C
ΔE00 4.77
Rouge
#AB1239
ΔE00 4.79
Light Maroon
#A24857
ΔE00 4.83
Ruby
#CA0147
ΔE00 5.02
Dark Rose
#B5485D
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF334B #33AF97
analogous
#AF3389 #AF334B #AF5933
triadic
#AF334B #4BAF33 #334BAF
tetradic
#AF334B #89AF33 #33AF97 #5933AF
square
#AF334B #89AF33 #33AF97 #5933AF
split-complementary
#AF334B #33AF59 #3389AF
monochromatic
#501722 #802537 #AF334B #CD526A #DB8293
Accessibility & contrast
On white
6.18
#AF334B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#AF334B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF334B
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF334B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF334B | 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)
#53514B
Deuteranopia (green-blind)
#736B48
Tritanopia (blue-blind)
#BF153D
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af334b; /* rgb */ color: rgb(175, 51, 75); /* oklch */ color: oklch(51.3% 0.160 13.7);
Tailwind
colors: {
custom: {
50: '#cd747d',
500: '#af334b',
950: '#000000',
},
}SCSS
$custom: #af334b; $custom-light: #cd747d; $custom-dark: #000000;
JSON
{
"hex": "#af334b",
"rgb": {
"r": 175,
"g": 51,
"b": 75
},
"hsl": {
"h": 348.387,
"s": 54.867,
"l": 44.314
},
"oklch": {
"l": 0.5133,
"c": 0.15965,
"h": 13.7
},
"luminance": 0.1199
}Semantic roles & 50–950 ramp
primary
#AF334B
secondary
#7AC4B6
accent
#DEC14A
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150909
muted
#837B7B