#AF334F#AF334F

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

Color values

HEX#AF334F
RGBrgb(175, 51, 79)
HSLhsl(346, 55%, 44%)
HSVhsv(346, 71%, 69%)
CMYKcmyk(0%, 70.9%, 54.9%, 31.4%)
CIE-LABlab(41.29, 51.80, 12.79)
CIE-LCHlch(41.29, 53.36, 13.87°)
OKLaboklab(51.43% 0.1567 0.0323)
OKLCHoklch(51.43% 0.16 11.6)
XYZxyz(20.2762, 12.0489, 8.6536)
Luminance0.1205 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF334F #33AF93
analogous
#AF338D #AF334F #AF5533
triadic
#AF334F #4FAF33 #334FAF
tetradic
#AF334F #8DAF33 #33AF93 #5533AF
square
#AF334F #8DAF33 #33AF93 #5533AF
split-complementary
#AF334F #33AF55 #338DAF
monochromatic
#501724 #80253A #AF334F #CD526E #DB8296

Accessibility & contrast

On white

6.16
#AF334F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AF334F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF334F
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF334F#FFFFFF#000000##FFFFFF
##AF334F1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52514F
Deuteranopia (green-blind)
#726B4C
Tritanopia (blue-blind)
#BF173E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af334f;
/* rgb */ color: rgb(175, 51, 79);
/* oklch */ color: oklch(51.4% 0.160 11.6);
Tailwind
colors: {
  custom: {
    50: '#cd7480',
    500: '#af334f',
    950: '#000000',
  },
}
SCSS
$custom: #af334f;
$custom-light: #cd7480;
$custom-dark: #000000;
JSON
{
  "hex": "#af334f",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 79
  },
  "hsl": {
    "h": 346.452,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51426,
    "c": 0.16,
    "h": 11.6
  },
  "luminance": 0.12046
}

Semantic roles & 50–950 ramp

primary
#AF334F
secondary
#7AC4B3
accent
#DEBD4A
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #AF334F

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

Preview Lab → · Contrast checker → · Palette generator →

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