#AF3374#AF3374

#AF3374 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.6% C 0.171 H 352.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AF3374
RGBrgb(175, 51, 116)
HSLhsl(329, 55%, 44%)
HSVhsv(329, 71%, 69%)
CMYKcmyk(0%, 70.9%, 33.7%, 31.4%)
CIE-LABlab(42.38, 55.45, -8.75)
CIE-LCHlch(42.38, 56.14, 351.03°)
OKLaboklab(52.58% 0.1696 -0.0225)
OKLCHoklch(52.58% 0.171 352.4)
XYZxyz(22.0167, 12.7451, 17.8202)
Luminance0.1274 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3374 #33AF6E
analogous
#AC33AF #AF3374 #AF3336
triadic
#AF3374 #74AF33 #3374AF
tetradic
#AF3374 #AFAC33 #33AF6E #3336AF
square
#AF3374 #AFAC33 #33AF6E #3336AF
split-complementary
#AF3374 #36AF33 #33AFAC
monochromatic
#501735 #802555 #AF3374 #CD5293 #DB82B0

Accessibility & contrast

On white

5.92
#AF3374 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AF3374 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3374
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3374#FFFFFF#000000##FFFFFF
##AF33741.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485676
Deuteranopia (green-blind)
#6B6C71
Tritanopia (blue-blind)
#BC2A4F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3374;
/* rgb */ color: rgb(175, 51, 116);
/* oklch */ color: oklch(52.6% 0.171 352.4);
Tailwind
colors: {
  custom: {
    50: '#cb759c',
    500: '#af3374',
    950: '#000000',
  },
}
SCSS
$custom: #af3374;
$custom-light: #cb759c;
$custom-dark: #000000;
JSON
{
  "hex": "#af3374",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 116
  },
  "hsl": {
    "h": 328.548,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5258,
    "c": 0.17108,
    "h": 352.4
  },
  "luminance": 0.12743
}

Semantic roles & 50–950 ramp

primary
#AF3374
secondary
#7AC49D
accent
#DE904A
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF3374

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

Preview Lab → · Contrast checker → · Palette generator →

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