#A51887#A51887

#A51887 is a mid, highly saturated pink. Relative luminance 0.104; OKLCH L 49.7% C 0.202 H 339.1°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#A51887
RGBrgb(165, 24, 135)
HSLhsl(313, 75%, 37%)
HSVhsv(313, 85%, 65%)
CMYKcmyk(0%, 85.5%, 18.2%, 35.3%)
CIE-LABlab(38.56, 63.31, -26.51)
CIE-LCHlch(38.56, 68.63, 337.28°)
OKLaboklab(49.73% 0.1888 -0.0719)
OKLCHoklch(49.73% 0.202 339.1)
XYZxyz(20.2174, 10.4040, 23.8604)
Luminance0.1040 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51887 #18A536
analogous
#7D18A5 #A51887 #A51841
triadic
#A51887 #87A518 #1887A5
tetradic
#A51887 #A57D18 #18A536 #1841A5
square
#A51887 #A57D18 #18A536 #1841A5
split-complementary
#A51887 #41A518 #18A57D
monochromatic
#3A0830 #70105B #A51887 #DA20B3 #E652C6

Accessibility & contrast

On white

6.82
#A51887 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#A51887 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A51887
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51887#FFFFFF#000000##FFFFFF
##A518871.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244D8A
Deuteranopia (green-blind)
#556284
Tritanopia (blue-blind)
#AF2051
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a51887;
/* rgb */ color: rgb(165, 24, 135);
/* oklch */ color: oklch(49.7% 0.202 339.1);
Tailwind
colors: {
  custom: {
    50: '#c46aaa',
    500: '#a51887',
    950: '#000000',
  },
}
SCSS
$custom: #a51887;
$custom-light: #c46aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#a51887",
  "rgb": {
    "r": 165,
    "g": 24,
    "b": 135
  },
  "hsl": {
    "h": 312.766,
    "s": 74.603,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49732,
    "c": 0.20203,
    "h": 339.1
  },
  "luminance": 0.10402
}

Semantic roles & 50–950 ramp

primary
#A51887
secondary
#51C86A
accent
#F15E37
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A51887

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

Preview Lab → · Contrast checker → · Palette generator →

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