#AF387D#AF387D

#AF387D is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.4% C 0.169 H 348.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AF387D
RGBrgb(175, 56, 125)
HSLhsl(325, 52%, 45%)
HSVhsv(325, 68%, 69%)
CMYKcmyk(0%, 68%, 28.6%, 31.4%)
CIE-LABlab(43.40, 54.63, -12.76)
CIE-LCHlch(43.40, 56.10, 346.86°)
OKLaboklab(53.44% 0.166 -0.0335)
OKLCHoklch(53.44% 0.169 348.6)
XYZxyz(22.7961, 13.4254, 20.7889)
Luminance0.1342 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF387D #38AF6A
analogous
#A538AF #AF387D #AF3842
triadic
#AF387D #7DAF38 #387DAF
tetradic
#AF387D #AFA538 #38AF6A #3842AF
square
#AF387D #AFA538 #38AF6A #3842AF
split-complementary
#AF387D #42AF38 #38AFA5
monochromatic
#521A3B #81295C #AF387D #CA5A9B #D988B7

Accessibility & contrast

On white

5.70
#AF387D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#AF387D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF387D
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF387D#FFFFFF#000000##FFFFFF
##AF387D1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48597F
Deuteranopia (green-blind)
#6A6E7A
Tritanopia (blue-blind)
#BB3355
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af387d;
/* rgb */ color: rgb(175, 56, 125);
/* oklch */ color: oklch(53.4% 0.169 348.6);
Tailwind
colors: {
  custom: {
    50: '#cb77a2',
    500: '#af387d',
    950: '#000000',
  },
}
SCSS
$custom: #af387d;
$custom-light: #cb77a2;
$custom-dark: #000000;
JSON
{
  "hex": "#af387d",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 125
  },
  "hsl": {
    "h": 325.21,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53437,
    "c": 0.16936,
    "h": 348.6
  },
  "luminance": 0.13423
}

Semantic roles & 50–950 ramp

primary
#AF387D
secondary
#80C39C
accent
#DB894D
background
#FCF7FA
surface
#F9EEF3
border
#D2C9CD
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AF387D

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

Preview Lab → · Contrast checker → · Palette generator →

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