#A51B52#A51B52

#A51B52 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.174 H 3.7°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#A51B52
RGBrgb(165, 27, 82)
HSLhsl(336, 72%, 38%)
HSVhsv(336, 84%, 65%)
CMYKcmyk(0%, 83.6%, 50.3%, 35.3%)
CIE-LABlab(36.73, 56.79, 4.20)
CIE-LCHlch(36.73, 56.94, 4.23°)
OKLaboklab(47.74% 0.1741 0.0113)
OKLCHoklch(47.74% 0.174 3.7)
XYZxyz(17.4335, 9.3949, 8.8764)
Luminance0.0939 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51B52 #1BA56E
analogous
#A51B97 #A51B52 #A5291B
triadic
#A51B52 #52A51B #1B52A5
tetradic
#A51B52 #97A51B #1BA56E #291BA5
square
#A51B52 #97A51B #1BA56E #291BA5
split-complementary
#A51B52 #1BA529 #1B97A5
monochromatic
#3C0A1E #701238 #A51B52 #DA246C #E3578F

Accessibility & contrast

On white

7.30
#A51B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#A51B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A51B52
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51B52#FFFFFF#000000##FFFFFF
##A51B521.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404553
Deuteranopia (green-blind)
#64604F
Tritanopia (blue-blind)
#B40035
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a51b52;
/* rgb */ color: rgb(165, 27, 82);
/* oklch */ color: oklch(47.7% 0.174 3.7);
Tailwind
colors: {
  custom: {
    50: '#c66982',
    500: '#a51b52',
    950: '#000000',
  },
}
SCSS
$custom: #a51b52;
$custom-light: #c66982;
$custom-dark: #000000;
JSON
{
  "hex": "#a51b52",
  "rgb": {
    "r": 165,
    "g": 27,
    "b": 82
  },
  "hsl": {
    "h": 336.087,
    "s": 71.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47739,
    "c": 0.17449,
    "h": 3.7
  },
  "luminance": 0.09392
}

Semantic roles & 50–950 ramp

primary
#A51B52
secondary
#55C799
accent
#EFA639
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14070A
muted
#827A7C

Preview Lab

Preview with #A51B52

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

Preview Lab → · Contrast checker → · Palette generator →

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