#A51842#A51842

#A51842 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.1% C 0.174 H 11.2°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#A51842
RGBrgb(165, 24, 66)
HSLhsl(342, 75%, 37%)
HSVhsv(342, 85%, 65%)
CMYKcmyk(0%, 85.5%, 60%, 35.3%)
CIE-LABlab(36.08, 56.29, 13.62)
CIE-LCHlch(36.08, 57.92, 13.61°)
OKLaboklab(47.12% 0.1703 0.0338)
OKLCHoklch(47.12% 0.174 11.2)
XYZxyz(16.8288, 9.0485, 6.0136)
Luminance0.0905 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51842 #18A57B
analogous
#A51888 #A51842 #A53518
triadic
#A51842 #42A518 #1842A5
tetradic
#A51842 #88A518 #18A57B #3518A5
square
#A51842 #88A518 #18A57B #3518A5
split-complementary
#A51842 #18A535 #1888A5
monochromatic
#3A0817 #70102D #A51842 #DA2057 #E6527E

Accessibility & contrast

On white

7.48
#A51842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#A51842 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A51842
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51842#FFFFFF#000000##FFFFFF
##A518421.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434343
Deuteranopia (green-blind)
#665F3E
Tritanopia (blue-blind)
#B5002B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a51842;
/* rgb */ color: rgb(165, 24, 66);
/* oklch */ color: oklch(47.1% 0.174 11.2);
Tailwind
colors: {
  custom: {
    50: '#c76776',
    500: '#a51842',
    950: '#000000',
  },
}
SCSS
$custom: #a51842;
$custom-light: #c76776;
$custom-dark: #000000;
JSON
{
  "hex": "#a51842",
  "rgb": {
    "r": 165,
    "g": 24,
    "b": 66
  },
  "hsl": {
    "h": 342.128,
    "s": 74.603,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47124,
    "c": 0.17363,
    "h": 11.2
  },
  "luminance": 0.09046
}

Semantic roles & 50–950 ramp

primary
#A51842
secondary
#51C8A5
accent
#F1BA37
background
#FDF6F7
surface
#FAEBED
border
#D3C6C8
text
#140708
muted
#837A7B

Preview Lab

Preview with #A51842

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

Preview Lab → · Contrast checker → · Palette generator →

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