#A51C42#A51C42

#A51C42 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.171 H 11.8°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#A51C42
RGBrgb(165, 28, 66)
HSLhsl(343, 71%, 38%)
HSVhsv(343, 83%, 65%)
CMYKcmyk(0%, 83%, 60%, 35.3%)
CIE-LABlab(36.42, 55.33, 14.08)
CIE-LCHlch(36.42, 57.09, 14.28°)
OKLaboklab(47.37% 0.1672 0.0349)
OKLCHoklch(47.37% 0.171 11.8)
XYZxyz(16.9174, 9.2257, 6.0432)
Luminance0.0922 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51C42 #1CA57F
analogous
#A51C86 #A51C42 #A53B1C
triadic
#A51C42 #42A51C #1C42A5
tetradic
#A51C42 #86A51C #1CA57F #3B1CA5
square
#A51C42 #86A51C #1CA57F #3B1CA5
split-complementary
#A51C42 #1CA53B #1C86A5
monochromatic
#3C0A18 #71132D #A51C42 #D92557 #E3597F

Accessibility & contrast

On white

7.38
#A51C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#A51C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A51C42
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51C42#FFFFFF#000000##FFFFFF
##A51C421.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444442
Deuteranopia (green-blind)
#67603E
Tritanopia (blue-blind)
#B5002D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a51c42;
/* rgb */ color: rgb(165, 28, 66);
/* oklch */ color: oklch(47.4% 0.171 11.8);
Tailwind
colors: {
  custom: {
    50: '#c76876',
    500: '#a51c42',
    950: '#000000',
  },
}
SCSS
$custom: #a51c42;
$custom-light: #c76876;
$custom-dark: #000000;
JSON
{
  "hex": "#a51c42",
  "rgb": {
    "r": 165,
    "g": 28,
    "b": 66
  },
  "hsl": {
    "h": 343.358,
    "s": 70.984,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47373,
    "c": 0.17079,
    "h": 11.8
  },
  "luminance": 0.09223
}

Semantic roles & 50–950 ramp

primary
#A51C42
secondary
#56C6A7
accent
#EEBC3A
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140708
muted
#837A7B

Preview Lab

Preview with #A51C42

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

Preview Lab → · Contrast checker → · Palette generator →

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