#AF387F#AF387F

#AF387F is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.5% C 0.170 H 347.6°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#AF387F
RGBrgb(175, 56, 127)
HSLhsl(324, 52%, 45%)
HSVhsv(324, 68%, 69%)
CMYKcmyk(0%, 68%, 27.4%, 31.4%)
CIE-LABlab(43.47, 54.89, -13.87)
CIE-LCHlch(43.47, 56.61, 345.82°)
OKLaboklab(53.52% 0.1665 -0.0365)
OKLCHoklch(53.52% 0.17 347.6)
XYZxyz(22.9251, 13.4770, 21.4686)
Luminance0.1348 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF387F #38AF68
analogous
#A438AF #AF387F #AF3843
triadic
#AF387F #7FAF38 #387FAF
tetradic
#AF387F #AFA438 #38AF68 #3843AF
square
#AF387F #AFA438 #38AF68 #3843AF
split-complementary
#AF387F #43AF38 #38AFA4
monochromatic
#521A3C #81295D #AF387F #CA5A9D #D988B8

Accessibility & contrast

On white

5.68
#AF387F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AF387F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF387F
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF387F#FFFFFF#000000##FFFFFF
##AF387F1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475A81
Deuteranopia (green-blind)
#6A6E7C
Tritanopia (blue-blind)
#BB3456
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af387f;
/* rgb */ color: rgb(175, 56, 127);
/* oklch */ color: oklch(53.5% 0.170 347.6);
Tailwind
colors: {
  custom: {
    50: '#cb77a4',
    500: '#af387f',
    950: '#000000',
  },
}
SCSS
$custom: #af387f;
$custom-light: #cb77a4;
$custom-dark: #000000;
JSON
{
  "hex": "#af387f",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 127
  },
  "hsl": {
    "h": 324.202,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53518,
    "c": 0.17048,
    "h": 347.6
  },
  "luminance": 0.13475
}

Semantic roles & 50–950 ramp

primary
#AF387F
secondary
#80C39B
accent
#DB864D
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AF387F

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

Preview Lab → · Contrast checker → · Palette generator →

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