#AF379A#AF379A

#AF379A is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.6% C 0.190 H 335.7°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#AF379A
RGBrgb(175, 55, 154)
HSLhsl(311, 52%, 45%)
HSVhsv(311, 69%, 69%)
CMYKcmyk(0%, 68.6%, 12%, 31.4%)
CIE-LABlab(44.49, 59.10, -28.66)
CIE-LCHlch(44.49, 65.68, 334.12°)
OKLaboklab(54.64% 0.1727 -0.0781)
OKLCHoklch(54.64% 0.19 335.7)
XYZxyz(24.8784, 14.1816, 31.9926)
Luminance0.1418 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF379A #37AF4C
analogous
#8837AF #AF379A #AF375E
triadic
#AF379A #9AAF37 #379AAF
tetradic
#AF379A #AF8837 #37AF4C #375EAF
square
#AF379A #AF8837 #37AF4C #375EAF
split-complementary
#AF379A #5EAF37 #37AF88
monochromatic
#521A48 #802871 #AF379A #CB59B7 #D987CB

Accessibility & contrast

On white

5.47
#AF379A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#AF379A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF379A
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF379A#FFFFFF#000000##FFFFFF
##AF379A1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385E9D
Deuteranopia (green-blind)
#607097
Tritanopia (blue-blind)
#B83F64
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af379a;
/* rgb */ color: rgb(175, 55, 154);
/* oklch */ color: oklch(54.6% 0.190 335.7);
Tailwind
colors: {
  custom: {
    50: '#ca78b8',
    500: '#af379a',
    950: '#000000',
  },
}
SCSS
$custom: #af379a;
$custom-light: #ca78b8;
$custom-dark: #000000;
JSON
{
  "hex": "#af379a",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 154
  },
  "hsl": {
    "h": 310.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5464,
    "c": 0.18952,
    "h": 335.7
  },
  "luminance": 0.14179
}

Semantic roles & 50–950 ramp

primary
#AF379A
secondary
#7FC38B
accent
#DC654C
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF379A

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

Preview Lab → · Contrast checker → · Palette generator →

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