#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
RGBrgb(175, 51, 75)
HSLhsl(348, 55%, 44%)
HSVhsv(348, 71%, 69%)
CMYKcmyk(0%, 70.9%, 57.1%, 31.4%)
CIE-LABlab(41.20, 51.49, 15.18)
CIE-LCHlch(41.20, 53.68, 16.42°)
OKLaboklab(51.33% 0.1551 0.0378)
OKLCHoklch(51.33% 0.16 13.7)
XYZxyz(20.1349, 11.9924, 7.9098)
Luminance0.1199 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

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
##AF334B1.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)
#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

Preview Lab

Preview with #AF334B

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

Preview Lab → · Contrast checker → · Palette generator →

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