#AF387E#AF387E

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

Color values

HEX#AF387E
RGBrgb(175, 56, 126)
HSLhsl(325, 52%, 45%)
HSVhsv(325, 68%, 69%)
CMYKcmyk(0%, 68%, 28%, 31.4%)
CIE-LABlab(43.44, 54.76, -13.31)
CIE-LCHlch(43.44, 56.35, 346.34°)
OKLaboklab(53.48% 0.1663 -0.035)
OKLCHoklch(53.48% 0.17 348.1)
XYZxyz(22.8603, 13.4511, 21.1270)
Luminance0.1345 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF387E #38AF69
analogous
#A438AF #AF387E #AF3842
triadic
#AF387E #7EAF38 #387EAF
tetradic
#AF387E #AFA438 #38AF69 #3842AF
square
#AF387E #AFA438 #38AF69 #3842AF
split-complementary
#AF387E #42AF38 #38AFA4
monochromatic
#521A3B #81295D #AF387E #CA5A9C #D988B8

Accessibility & contrast

On white

5.69
#AF387E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AF387E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF387E
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF387E#FFFFFF#000000##FFFFFF
##AF387E1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485980
Deuteranopia (green-blind)
#6A6E7B
Tritanopia (blue-blind)
#BB3456
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af387e;
/* rgb */ color: rgb(175, 56, 126);
/* oklch */ color: oklch(53.5% 0.170 348.1);
Tailwind
colors: {
  custom: {
    50: '#cb77a3',
    500: '#af387e',
    950: '#000000',
  },
}
SCSS
$custom: #af387e;
$custom-light: #cb77a3;
$custom-dark: #000000;
JSON
{
  "hex": "#af387e",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 126
  },
  "hsl": {
    "h": 324.706,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53477,
    "c": 0.16991,
    "h": 348.1
  },
  "luminance": 0.13449
}

Semantic roles & 50–950 ramp

primary
#AF387E
secondary
#80C39B
accent
#DB874D
background
#FCF7FA
surface
#F9EEF3
border
#D2C9CD
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AF387E

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

Preview Lab → · Contrast checker → · Palette generator →

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