#A51888#A51888

#A51888 is a mid, highly saturated pink. Relative luminance 0.104; OKLCH L 49.8% C 0.203 H 338.8°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#A51888
RGBrgb(165, 24, 136)
HSLhsl(312, 75%, 37%)
HSVhsv(312, 85%, 65%)
CMYKcmyk(0%, 85.5%, 17.6%, 35.3%)
CIE-LABlab(38.61, 63.44, -27.05)
CIE-LCHlch(38.61, 68.97, 336.91°)
OKLaboklab(49.78% 0.1889 -0.0734)
OKLCHoklch(49.78% 0.203 338.8)
XYZxyz(20.2882, 10.4323, 24.2329)
Luminance0.1043 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51888 #18A535
analogous
#7B18A5 #A51888 #A51842
triadic
#A51888 #88A518 #1888A5
tetradic
#A51888 #A57B18 #18A535 #1842A5
square
#A51888 #A57B18 #18A535 #1842A5
split-complementary
#A51888 #42A518 #18A57B
monochromatic
#3A0830 #70105C #A51888 #DA20B4 #E652C7

Accessibility & contrast

On white

6.80
#A51888 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#A51888 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A51888
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51888#FFFFFF#000000##FFFFFF
##A518881.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234D8B
Deuteranopia (green-blind)
#556285
Tritanopia (blue-blind)
#AF2151
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a51888;
/* rgb */ color: rgb(165, 24, 136);
/* oklch */ color: oklch(49.8% 0.203 338.8);
Tailwind
colors: {
  custom: {
    50: '#c46aab',
    500: '#a51888',
    950: '#000000',
  },
}
SCSS
$custom: #a51888;
$custom-light: #c46aab;
$custom-dark: #000000;
JSON
{
  "hex": "#a51888",
  "rgb": {
    "r": 165,
    "g": 24,
    "b": 136
  },
  "hsl": {
    "h": 312.34,
    "s": 74.603,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49784,
    "c": 0.20267,
    "h": 338.8
  },
  "luminance": 0.1043
}

Semantic roles & 50–950 ramp

primary
#A51888
secondary
#51C869
accent
#F15D37
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A51888

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

Preview Lab → · Contrast checker → · Palette generator →

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