#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
RGBrgb(175, 51, 76)
HSLhsl(348, 55%, 44%)
HSVhsv(348, 71%, 69%)
CMYKcmyk(0%, 70.9%, 56.6%, 31.4%)
CIE-LABlab(41.23, 51.57, 14.58)
CIE-LCHlch(41.23, 53.59, 15.79°)
OKLaboklab(51.35% 0.1555 0.0364)
OKLCHoklch(51.35% 0.16 13.2)
XYZxyz(20.1694, 12.0062, 8.0914)
Luminance0.1200 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

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
##AF334C1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.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

Preview Lab

Preview with #AF334C

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

Preview Lab → · Contrast checker → · Palette generator →

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