#A51E52#A51E52

#A51E52 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.9% C 0.172 H 4.1°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#A51E52
RGBrgb(165, 30, 82)
HSLhsl(337, 69%, 38%)
HSVhsv(337, 82%, 65%)
CMYKcmyk(0%, 81.8%, 50.3%, 35.3%)
CIE-LABlab(37.00, 56.02, 4.59)
CIE-LCHlch(37.00, 56.21, 4.68°)
OKLaboklab(47.94% 0.1717 0.0122)
OKLCHoklch(47.94% 0.172 4.1)
XYZxyz(17.5059, 9.5395, 8.9005)
Luminance0.0954 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51E52 #1EA571
analogous
#A51E95 #A51E52 #A52D1E
triadic
#A51E52 #52A51E #1E52A5
tetradic
#A51E52 #95A51E #1EA571 #2D1EA5
square
#A51E52 #95A51E #1EA571 #2D1EA5
split-complementary
#A51E52 #1EA52D #1E95A5
monochromatic
#3D0B1F #711538 #A51E52 #D8286C #E15C8F

Accessibility & contrast

On white

7.22
#A51E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#A51E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A51E52
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51E52#FFFFFF#000000##FFFFFF
##A51E521.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424653
Deuteranopia (green-blind)
#65604F
Tritanopia (blue-blind)
#B40036
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a51e52;
/* rgb */ color: rgb(165, 30, 82);
/* oklch */ color: oklch(47.9% 0.172 4.1);
Tailwind
colors: {
  custom: {
    50: '#c66a82',
    500: '#a51e52',
    950: '#000000',
  },
}
SCSS
$custom: #a51e52;
$custom-light: #c66a82;
$custom-dark: #000000;
JSON
{
  "hex": "#a51e52",
  "rgb": {
    "r": 165,
    "g": 30,
    "b": 82
  },
  "hsl": {
    "h": 336.889,
    "s": 69.231,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47936,
    "c": 0.17209,
    "h": 4.1
  },
  "luminance": 0.09537
}

Semantic roles & 50–950 ramp

primary
#A51E52
secondary
#59C59C
accent
#ECA83C
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14070A
muted
#827A7C

Preview Lab

Preview with #A51E52

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

Preview Lab → · Contrast checker → · Palette generator →

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