#AF388F#AF388F

#AF388F is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.2% C 0.180 H 340.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#AF388F
RGBrgb(175, 56, 143)
HSLhsl(316, 52%, 45%)
HSVhsv(316, 68%, 69%)
CMYKcmyk(0%, 68%, 18.3%, 31.4%)
CIE-LABlab(44.13, 57.08, -22.60)
CIE-LCHlch(44.13, 61.39, 338.40°)
OKLaboklab(54.21% 0.1699 -0.0609)
OKLCHoklch(54.21% 0.18 340.3)
XYZxyz(24.0519, 13.9277, 27.4029)
Luminance0.1393 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF388F #38AF58
analogous
#9338AF #AF388F #AF3854
triadic
#AF388F #8FAF38 #388FAF
tetradic
#AF388F #AF9338 #38AF58 #3854AF
square
#AF388F #AF9338 #38AF58 #3854AF
split-complementary
#AF388F #54AF38 #38AF93
monochromatic
#521A43 #812969 #AF388F #CA5AAC #D988C3

Accessibility & contrast

On white

5.55
#AF388F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#AF388F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF388F
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF388F#FFFFFF#000000##FFFFFF
##AF388F1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405C92
Deuteranopia (green-blind)
#656F8C
Tritanopia (blue-blind)
#B93B5E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af388f;
/* rgb */ color: rgb(175, 56, 143);
/* oklch */ color: oklch(54.2% 0.180 340.3);
Tailwind
colors: {
  custom: {
    50: '#ca78b0',
    500: '#af388f',
    950: '#000000',
  },
}
SCSS
$custom: #af388f;
$custom-light: #ca78b0;
$custom-dark: #000000;
JSON
{
  "hex": "#af388f",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 143
  },
  "hsl": {
    "h": 316.134,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54212,
    "c": 0.18049,
    "h": 340.3
  },
  "luminance": 0.13925
}

Semantic roles & 50–950 ramp

primary
#AF388F
secondary
#80C392
accent
#DB734D
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF388F

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

Preview Lab → · Contrast checker → · Palette generator →

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