#A51B4B#A51B4B

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

Color values

HEX#A51B4B
RGBrgb(165, 27, 75)
HSLhsl(339, 72%, 38%)
HSVhsv(339, 84%, 65%)
CMYKcmyk(0%, 83.6%, 54.5%, 35.3%)
CIE-LABlab(36.54, 56.23, 8.45)
CIE-LCHlch(36.54, 56.86, 8.54°)
OKLaboklab(47.54% 0.1715 0.0217)
OKLCHoklch(47.54% 0.173 7.2)
XYZxyz(17.1806, 9.2937, 7.5444)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51B4B #1BA575
analogous
#A51B90 #A51B4B #A5301B
triadic
#A51B4B #4BA51B #1B4BA5
tetradic
#A51B4B #90A51B #1BA575 #301BA5
square
#A51B4B #90A51B #1BA575 #301BA5
split-complementary
#A51B4B #1BA530 #1B90A5
monochromatic
#3C0A1B #701233 #A51B4B #DA2463 #E35788

Accessibility & contrast

On white

7.35
#A51B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A51B4B
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51B4B#FFFFFF#000000##FFFFFF
##A51B4B1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42454C
Deuteranopia (green-blind)
#666048
Tritanopia (blue-blind)
#B40031
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a51b4b;
/* rgb */ color: rgb(165, 27, 75);
/* oklch */ color: oklch(47.5% 0.173 7.2);
Tailwind
colors: {
  custom: {
    50: '#c6687d',
    500: '#a51b4b',
    950: '#000000',
  },
}
SCSS
$custom: #a51b4b;
$custom-light: #c6687d;
$custom-dark: #000000;
JSON
{
  "hex": "#a51b4b",
  "rgb": {
    "r": 165,
    "g": 27,
    "b": 75
  },
  "hsl": {
    "h": 339.13,
    "s": 71.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47538,
    "c": 0.17289,
    "h": 7.2
  },
  "luminance": 0.09291
}

Semantic roles & 50–950 ramp

primary
#A51B4B
secondary
#55C79F
accent
#EFB039
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140709
muted
#837A7B

Preview Lab

Preview with #A51B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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