#AF389B#AF389B

#AF389B is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.8% C 0.189 H 335.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AF389B
RGBrgb(175, 56, 155)
HSLhsl(310, 52%, 45%)
HSVhsv(310, 68%, 69%)
CMYKcmyk(0%, 68%, 11.4%, 31.4%)
CIE-LABlab(44.68, 58.87, -28.98)
CIE-LCHlch(44.68, 65.61, 333.79°)
OKLaboklab(54.79% 0.1717 -0.079)
OKLCHoklch(54.79% 0.189 335.3)
XYZxyz(25.0100, 14.3110, 32.4491)
Luminance0.1431 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF389B #38AF4C
analogous
#8738AF #AF389B #AF385F
triadic
#AF389B #9BAF38 #389BAF
tetradic
#AF389B #AF8738 #38AF4C #385FAF
square
#AF389B #AF8738 #38AF4C #385FAF
split-complementary
#AF389B #5FAF38 #38AF87
monochromatic
#521A49 #812972 #AF389B #CA5AB7 #D988CB

Accessibility & contrast

On white

5.44
#AF389B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#AF389B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF389B
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF389B#FFFFFF#000000##FFFFFF
##AF389B1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385E9E
Deuteranopia (green-blind)
#607098
Tritanopia (blue-blind)
#B84065
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af389b;
/* rgb */ color: rgb(175, 56, 155);
/* oklch */ color: oklch(54.8% 0.189 335.3);
Tailwind
colors: {
  custom: {
    50: '#ca78b9',
    500: '#af389b',
    950: '#000000',
  },
}
SCSS
$custom: #af389b;
$custom-light: #ca78b9;
$custom-dark: #000000;
JSON
{
  "hex": "#af389b",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 155
  },
  "hsl": {
    "h": 310.084,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54788,
    "c": 0.18897,
    "h": 335.3
  },
  "luminance": 0.14309
}

Semantic roles & 50–950 ramp

primary
#AF389B
secondary
#80C38B
accent
#DB654D
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF389B

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

Preview Lab → · Contrast checker → · Palette generator →

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