#A51B4C#A51B4C

#A51B4C is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.173 H 6.7°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#A51B4C
RGBrgb(165, 27, 76)
HSLhsl(339, 72%, 38%)
HSVhsv(339, 84%, 65%)
CMYKcmyk(0%, 83.6%, 53.9%, 35.3%)
CIE-LABlab(36.57, 56.30, 7.84)
CIE-LCHlch(36.57, 56.85, 7.92°)
OKLaboklab(47.57% 0.1719 0.0202)
OKLCHoklch(47.57% 0.173 6.7)
XYZxyz(17.2151, 9.3075, 7.7261)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51B4C #1BA574
analogous
#A51B91 #A51B4C #A52F1B
triadic
#A51B4C #4CA51B #1B4CA5
tetradic
#A51B4C #91A51B #1BA574 #2F1BA5
square
#A51B4C #91A51B #1BA574 #2F1BA5
split-complementary
#A51B4C #1BA52F #1B91A5
monochromatic
#3C0A1C #701234 #A51B4C #DA2464 #E35789

Accessibility & contrast

On white

7.34
#A51B4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#A51B4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A51B4C
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51B4C#FFFFFF#000000##FFFFFF
##A51B4C1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42454D
Deuteranopia (green-blind)
#656049
Tritanopia (blue-blind)
#B40032
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a51b4c;
/* rgb */ color: rgb(165, 27, 76);
/* oklch */ color: oklch(47.6% 0.173 6.7);
Tailwind
colors: {
  custom: {
    50: '#c6687d',
    500: '#a51b4c',
    950: '#000000',
  },
}
SCSS
$custom: #a51b4c;
$custom-light: #c6687d;
$custom-dark: #000000;
JSON
{
  "hex": "#a51b4c",
  "rgb": {
    "r": 165,
    "g": 27,
    "b": 76
  },
  "hsl": {
    "h": 338.696,
    "s": 71.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47565,
    "c": 0.17309,
    "h": 6.7
  },
  "luminance": 0.09305
}

Semantic roles & 50–950 ramp

primary
#A51B4C
secondary
#55C79E
accent
#EFAE39
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140709
muted
#837A7B

Preview Lab

Preview with #A51B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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