#AF388D#AF388D

#AF388D is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.1% C 0.179 H 341.2°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AF388D
RGBrgb(175, 56, 141)
HSLhsl(317, 52%, 45%)
HSVhsv(317, 68%, 69%)
CMYKcmyk(0%, 68%, 19.4%, 31.4%)
CIE-LABlab(44.04, 56.79, -21.52)
CIE-LCHlch(44.04, 60.74, 339.24°)
OKLaboklab(54.12% 0.1696 -0.0578)
OKLCHoklch(54.12% 0.179 341.2)
XYZxyz(23.9017, 13.8677, 26.6121)
Luminance0.1386 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF388D #38AF5A
analogous
#9538AF #AF388D #AF3851
triadic
#AF388D #8DAF38 #388DAF
tetradic
#AF388D #AF9538 #38AF5A #3851AF
square
#AF388D #AF9538 #38AF5A #3851AF
split-complementary
#AF388D #51AF38 #38AF95
monochromatic
#521A42 #812968 #AF388D #CA5AAA #D988C2

Accessibility & contrast

On white

5.57
#AF388D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AF388D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF388D
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF388D#FFFFFF#000000##FFFFFF
##AF388D1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415C8F
Deuteranopia (green-blind)
#656F8A
Tritanopia (blue-blind)
#B93A5D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af388d;
/* rgb */ color: rgb(175, 56, 141);
/* oklch */ color: oklch(54.1% 0.179 341.2);
Tailwind
colors: {
  custom: {
    50: '#ca78ae',
    500: '#af388d',
    950: '#000000',
  },
}
SCSS
$custom: #af388d;
$custom-light: #ca78ae;
$custom-dark: #000000;
JSON
{
  "hex": "#af388d",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 317.143,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54121,
    "c": 0.17914,
    "h": 341.2
  },
  "luminance": 0.13865
}

Semantic roles & 50–950 ramp

primary
#AF388D
secondary
#80C393
accent
#DB754D
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF388D

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

Preview Lab → · Contrast checker → · Palette generator →

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