#AF334A#AF334A

#AF334A is a mid, vivid red. Relative luminance 0.120; OKLCH L 51.3% C 0.160 H 14.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AF334A
RGBrgb(175, 51, 74)
HSLhsl(349, 55%, 44%)
HSVhsv(349, 71%, 69%)
CMYKcmyk(0%, 70.9%, 57.7%, 31.4%)
CIE-LABlab(41.18, 51.42, 15.77)
CIE-LCHlch(41.18, 53.78, 17.05°)
OKLaboklab(51.31% 0.1547 0.0392)
OKLCHoklch(51.31% 0.16 14.2)
XYZxyz(20.1010, 11.9788, 7.7309)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF334A #33AF98
analogous
#AF3388 #AF334A #AF5A33
triadic
#AF334A #4AAF33 #334AAF
tetradic
#AF334A #88AF33 #33AF98 #5A33AF
square
#AF334A #88AF33 #33AF98 #5A33AF
split-complementary
#AF334A #33AF5A #3388AF
monochromatic
#501722 #802536 #AF334A #CD5269 #DB8292

Accessibility & contrast

On white

6.19
#AF334A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AF334A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF334A
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF334A#FFFFFF#000000##FFFFFF
##AF334A1.006.193.406.19
#FFFFFF6.191.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53514A
Deuteranopia (green-blind)
#736B47
Tritanopia (blue-blind)
#BF153C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af334a;
/* rgb */ color: rgb(175, 51, 74);
/* oklch */ color: oklch(51.3% 0.160 14.2);
Tailwind
colors: {
  custom: {
    50: '#cd747c',
    500: '#af334a',
    950: '#000000',
  },
}
SCSS
$custom: #af334a;
$custom-light: #cd747c;
$custom-dark: #000000;
JSON
{
  "hex": "#af334a",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 74
  },
  "hsl": {
    "h": 348.871,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51307,
    "c": 0.1596,
    "h": 14.2
  },
  "luminance": 0.11976
}

Semantic roles & 50–950 ramp

primary
#AF334A
secondary
#7AC4B6
accent
#DEC34A
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150909
muted
#837B7B

Preview Lab

Preview with #AF334A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AF334A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva