#AF388A#AF388A

#AF388A is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.0% C 0.177 H 342.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#AF388A
RGBrgb(175, 56, 138)
HSLhsl(319, 52%, 45%)
HSVhsv(319, 68%, 69%)
CMYKcmyk(0%, 68%, 21.1%, 31.4%)
CIE-LABlab(43.92, 56.37, -19.90)
CIE-LCHlch(43.92, 59.78, 340.56°)
OKLaboklab(53.99% 0.169 -0.0533)
OKLCHoklch(53.99% 0.177 342.5)
XYZxyz(23.6815, 13.7796, 25.4524)
Luminance0.1378 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF388A #38AF5D
analogous
#9838AF #AF388A #AF384F
triadic
#AF388A #8AAF38 #388AAF
tetradic
#AF388A #AF9838 #38AF5D #384FAF
square
#AF388A #AF9838 #38AF5D #384FAF
split-complementary
#AF388A #4FAF38 #38AF98
monochromatic
#521A41 #812965 #AF388A #CA5AA7 #D988C0

Accessibility & contrast

On white

5.59
#AF388A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#AF388A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF388A
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF388A#FFFFFF#000000##FFFFFF
##AF388A1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425B8C
Deuteranopia (green-blind)
#666F87
Tritanopia (blue-blind)
#BA395C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af388a;
/* rgb */ color: rgb(175, 56, 138);
/* oklch */ color: oklch(54.0% 0.177 342.5);
Tailwind
colors: {
  custom: {
    50: '#ca78ac',
    500: '#af388a',
    950: '#000000',
  },
}
SCSS
$custom: #af388a;
$custom-light: #ca78ac;
$custom-dark: #000000;
JSON
{
  "hex": "#af388a",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 138
  },
  "hsl": {
    "h": 318.655,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53986,
    "c": 0.17718,
    "h": 342.5
  },
  "luminance": 0.13777
}

Semantic roles & 50–950 ramp

primary
#AF388A
secondary
#80C395
accent
#DB794D
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF388A

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

Preview Lab → · Contrast checker → · Palette generator →

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