#AF4387#AF4387

#AF4387 is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.1% C 0.160 H 344.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AF4387
RGBrgb(175, 67, 135)
HSLhsl(322, 45%, 47%)
HSVhsv(322, 62%, 69%)
CMYKcmyk(0%, 61.7%, 22.9%, 31.4%)
CIE-LABlab(45.47, 51.34, -15.70)
CIE-LCHlch(45.47, 53.69, 343.00°)
OKLaboklab(55.09% 0.1543 -0.0417)
OKLCHoklch(55.09% 0.16 344.9)
XYZxyz(24.0603, 14.8798, 24.5219)
Luminance0.1488 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4387 #43AF6B
analogous
#A143AF #AF4387 #AF4351
triadic
#AF4387 #87AF43 #4387AF
tetradic
#AF4387 #AFA143 #43AF6B #4351AF
square
#AF4387 #AFA143 #43AF6B #4351AF
split-complementary
#AF4387 #51AF43 #43AFA1
monochromatic
#562143 #833265 #AF4387 #C669A4 #D796BF

Accessibility & contrast

On white

5.28
#AF4387 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#AF4387 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4387
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4387#FFFFFF#000000##FFFFFF
##AF43871.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6089
Deuteranopia (green-blind)
#6C7284
Tritanopia (blue-blind)
#BA425F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4387;
/* rgb */ color: rgb(175, 67, 135);
/* oklch */ color: oklch(55.1% 0.160 344.9);
Tailwind
colors: {
  custom: {
    50: '#ca7daa',
    500: '#af4387',
    950: '#000000',
  },
}
SCSS
$custom: #af4387;
$custom-light: #ca7daa;
$custom-dark: #000000;
JSON
{
  "hex": "#af4387",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 135
  },
  "hsl": {
    "h": 322.222,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55087,
    "c": 0.15981,
    "h": 344.9
  },
  "luminance": 0.14878
}

Semantic roles & 50–950 ramp

primary
#AF4387
secondary
#8BC2A0
accent
#D48353
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF4387

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

Preview Lab → · Contrast checker → · Palette generator →

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