#AF334D#AF334D

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

Color values

HEX#AF334D
RGBrgb(175, 51, 77)
HSLhsl(347, 55%, 44%)
HSVhsv(347, 71%, 69%)
CMYKcmyk(0%, 70.9%, 56%, 31.4%)
CIE-LABlab(41.25, 51.65, 13.98)
CIE-LCHlch(41.25, 53.51, 15.15°)
OKLaboklab(51.38% 0.1559 0.035)
OKLCHoklch(51.38% 0.16 12.7)
XYZxyz(20.2045, 12.0202, 8.2760)
Luminance0.1202 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF334D #33AF95
analogous
#AF338B #AF334D #AF5733
triadic
#AF334D #4DAF33 #334DAF
tetradic
#AF334D #8BAF33 #33AF95 #5733AF
square
#AF334D #8BAF33 #33AF95 #5733AF
split-complementary
#AF334D #33AF57 #338BAF
monochromatic
#501723 #802538 #AF334D #CD526C #DB8294

Accessibility & contrast

On white

6.17
#AF334D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF334D
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF334D#FFFFFF#000000##FFFFFF
##AF334D1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52514D
Deuteranopia (green-blind)
#726B4A
Tritanopia (blue-blind)
#BF163E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af334d;
/* rgb */ color: rgb(175, 51, 77);
/* oklch */ color: oklch(51.4% 0.160 12.7);
Tailwind
colors: {
  custom: {
    50: '#cd747e',
    500: '#af334d',
    950: '#000000',
  },
}
SCSS
$custom: #af334d;
$custom-light: #cd747e;
$custom-dark: #000000;
JSON
{
  "hex": "#af334d",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 77
  },
  "hsl": {
    "h": 347.419,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51378,
    "c": 0.15981,
    "h": 12.7
  },
  "luminance": 0.12017
}

Semantic roles & 50–950 ramp

primary
#AF334D
secondary
#7AC4B4
accent
#DEBF4A
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150909
muted
#837B7B

Preview Lab

Preview with #AF334D

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

Preview Lab → · Contrast checker → · Palette generator →

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