#A51C83#A51C83

#A51C83 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.8% C 0.197 H 340.9°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#A51C83
RGBrgb(165, 28, 131)
HSLhsl(315, 71%, 38%)
HSVhsv(315, 83%, 65%)
CMYKcmyk(0%, 83%, 20.6%, 35.3%)
CIE-LABlab(38.67, 61.88, -23.86)
CIE-LCHlch(38.67, 66.32, 338.91°)
OKLaboklab(49.75% 0.1857 -0.0644)
OKLCHoklch(49.75% 0.197 340.9)
XYZxyz(20.0297, 10.4707, 22.4345)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51C83 #1CA53E
analogous
#831CA5 #A51C83 #A51C3E
triadic
#A51C83 #83A51C #1C83A5
tetradic
#A51C83 #A5831C #1CA53E #1C3EA5
square
#A51C83 #A5831C #1CA53E #1C3EA5
split-complementary
#A51C83 #3EA51C #1CA583
monochromatic
#3C0A30 #711359 #A51C83 #D925AD #E359C0

Accessibility & contrast

On white

6.79
#A51C83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A51C83
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51C83#FFFFFF#000000##FFFFFF
##A51C831.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4D86
Deuteranopia (green-blind)
#586380
Tritanopia (blue-blind)
#AF204F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a51c83;
/* rgb */ color: rgb(165, 28, 131);
/* oklch */ color: oklch(49.8% 0.197 340.9);
Tailwind
colors: {
  custom: {
    50: '#c46ba7',
    500: '#a51c83',
    950: '#000000',
  },
}
SCSS
$custom: #a51c83;
$custom-light: #c46ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#a51c83",
  "rgb": {
    "r": 165,
    "g": 28,
    "b": 131
  },
  "hsl": {
    "h": 314.891,
    "s": 70.984,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49753,
    "c": 0.1965,
    "h": 340.9
  },
  "luminance": 0.10469
}

Semantic roles & 50–950 ramp

primary
#A51C83
secondary
#56C672
accent
#EE673A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A51C83

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

Preview Lab → · Contrast checker → · Palette generator →

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