#AF379B#AF379B

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

Color values

HEX#AF379B
RGBrgb(175, 55, 155)
HSLhsl(310, 52%, 45%)
HSVhsv(310, 69%, 69%)
CMYKcmyk(0%, 68.6%, 11.4%, 31.4%)
CIE-LABlab(44.54, 59.25, -29.19)
CIE-LCHlch(44.54, 66.05, 333.77°)
OKLaboklab(54.69% 0.1728 -0.0796)
OKLCHoklch(54.69% 0.19 335.3)
XYZxyz(24.9621, 14.2150, 32.4331)
Luminance0.1421 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF379B #37AF4B
analogous
#8737AF #AF379B #AF375F
triadic
#AF379B #9BAF37 #379BAF
tetradic
#AF379B #AF8737 #37AF4B #375FAF
square
#AF379B #AF8737 #37AF4B #375FAF
split-complementary
#AF379B #5FAF37 #37AF87
monochromatic
#521A49 #802872 #AF379B #CB59B8 #D987CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF379B#FFFFFF#000000##FFFFFF
##AF379B1.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)
#375E9E
Deuteranopia (green-blind)
#5F7098
Tritanopia (blue-blind)
#B83F64
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af379b;
/* rgb */ color: rgb(175, 55, 155);
/* oklch */ color: oklch(54.7% 0.190 335.3);
Tailwind
colors: {
  custom: {
    50: '#ca78b9',
    500: '#af379b',
    950: '#000000',
  },
}
SCSS
$custom: #af379b;
$custom-light: #ca78b9;
$custom-dark: #000000;
JSON
{
  "hex": "#af379b",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 155
  },
  "hsl": {
    "h": 310,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5469,
    "c": 0.19025,
    "h": 335.3
  },
  "luminance": 0.14213
}

Semantic roles & 50–950 ramp

primary
#AF379B
secondary
#7FC38A
accent
#DC644C
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF379B

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

Preview Lab → · Contrast checker → · Palette generator →

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