#AF388C#AF388C

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

Color values

HEX#AF388C
RGBrgb(175, 56, 140)
HSLhsl(318, 52%, 45%)
HSVhsv(318, 68%, 69%)
CMYKcmyk(0%, 68%, 20%, 31.4%)
CIE-LABlab(44.00, 56.65, -20.98)
CIE-LCHlch(44.00, 60.41, 339.68°)
OKLaboklab(54.08% 0.1694 -0.0563)
OKLCHoklch(54.08% 0.178 341.6)
XYZxyz(23.8277, 13.8380, 26.2220)
Luminance0.1384 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF388C #38AF5B
analogous
#9638AF #AF388C #AF3851
triadic
#AF388C #8CAF38 #388CAF
tetradic
#AF388C #AF9638 #38AF5B #3851AF
square
#AF388C #AF9638 #38AF5B #3851AF
split-complementary
#AF388C #51AF38 #38AF96
monochromatic
#521A42 #812967 #AF388C #CA5AA9 #D988C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF388C#FFFFFF#000000##FFFFFF
##AF388C1.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)
#415C8E
Deuteranopia (green-blind)
#666F89
Tritanopia (blue-blind)
#BA3A5D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af388c;
/* rgb */ color: rgb(175, 56, 140);
/* oklch */ color: oklch(54.1% 0.178 341.6);
Tailwind
colors: {
  custom: {
    50: '#ca78ad',
    500: '#af388c',
    950: '#000000',
  },
}
SCSS
$custom: #af388c;
$custom-light: #ca78ad;
$custom-dark: #000000;
JSON
{
  "hex": "#af388c",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 140
  },
  "hsl": {
    "h": 317.647,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54076,
    "c": 0.17848,
    "h": 341.6
  },
  "luminance": 0.13836
}

Semantic roles & 50–950 ramp

primary
#AF388C
secondary
#80C394
accent
#DB774D
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF388C

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

Preview Lab → · Contrast checker → · Palette generator →

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