#AF3087#AF3087

#AF3087 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.1% C 0.185 H 343.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#AF3087
RGBrgb(175, 48, 135)
HSLhsl(319, 57%, 44%)
HSVhsv(319, 73%, 69%)
CMYKcmyk(0%, 72.6%, 22.9%, 31.4%)
CIE-LABlab(42.73, 58.92, -19.89)
CIE-LCHlch(42.73, 62.19, 341.34°)
OKLaboklab(53.08% 0.1774 -0.0532)
OKLCHoklch(53.08% 0.185 343.3)
XYZxyz(23.1102, 12.9795, 24.2052)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3087 #30AF58
analogous
#9730AF #AF3087 #AF3047
triadic
#AF3087 #87AF30 #3087AF
tetradic
#AF3087 #AF9730 #30AF58 #3047AF
square
#AF3087 #AF9730 #30AF58 #3047AF
split-complementary
#AF3087 #47AF30 #30AF97
monochromatic
#4F163D #7F2362 #AF3087 #CE4EA6 #DC7EBE

Accessibility & contrast

On white

5.84
#AF3087 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AF3087 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3087
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3087#FFFFFF#000000##FFFFFF
##AF30871.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5789
Deuteranopia (green-blind)
#646C84
Tritanopia (blue-blind)
#BA3057
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af3087;
/* rgb */ color: rgb(175, 48, 135);
/* oklch */ color: oklch(53.1% 0.185 343.3);
Tailwind
colors: {
  custom: {
    50: '#cb74aa',
    500: '#af3087',
    950: '#000000',
  },
}
SCSS
$custom: #af3087;
$custom-light: #cb74aa;
$custom-dark: #000000;
JSON
{
  "hex": "#af3087",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 135
  },
  "hsl": {
    "h": 318.898,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53082,
    "c": 0.18523,
    "h": 343.3
  },
  "luminance": 0.12977
}

Semantic roles & 50–950 ramp

primary
#AF3087
secondary
#76C48F
accent
#E07848
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF3087

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

Preview Lab → · Contrast checker → · Palette generator →

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