#A42951#A42951

#A42951 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.6% C 0.161 H 6.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#A42951
RGBrgb(164, 41, 81)
HSLhsl(340, 60%, 40%)
HSVhsv(340, 75%, 64%)
CMYKcmyk(0%, 75%, 50.6%, 35.7%)
CIE-LABlab(37.98, 52.27, 6.59)
CIE-LCHlch(37.98, 52.69, 7.18°)
OKLaboklab(48.61% 0.1596 0.0172)
OKLCHoklch(48.61% 0.161 6.2)
XYZxyz(17.5895, 10.0749, 8.8014)
Luminance0.1007 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42951 #29A47C
analogous
#A4298E #A42951 #A43F29
triadic
#A42951 #51A429 #2951A4
tetradic
#A42951 #8EA429 #29A47C #3F29A4
square
#A42951 #8EA429 #29A47C #3F29A4
split-complementary
#A42951 #29A43F #298EA4
monochromatic
#421121 #731D39 #A42951 #CE3C6C #DA6D91

Accessibility & contrast

On white

6.97
#A42951 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#A42951 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42951
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42951#FFFFFF#000000##FFFFFF
##A429511.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474A52
Deuteranopia (green-blind)
#67624E
Tritanopia (blue-blind)
#B30C3A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a42951;
/* rgb */ color: rgb(164, 41, 81);
/* oklch */ color: oklch(48.6% 0.161 6.2);
Tailwind
colors: {
  custom: {
    50: '#c56e81',
    500: '#a42951',
    950: '#000000',
  },
}
SCSS
$custom: #a42951;
$custom-light: #c56e81;
$custom-dark: #000000;
JSON
{
  "hex": "#a42951",
  "rgb": {
    "r": 164,
    "g": 41,
    "b": 81
  },
  "hsl": {
    "h": 340.488,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48609,
    "c": 0.16051,
    "h": 6.2
  },
  "luminance": 0.10072
}

Semantic roles & 50–950 ramp

primary
#A42951
secondary
#68C1A4
accent
#E3B045
background
#FCF7F7
surface
#F9EDEE
border
#D2C8C9
text
#14080A
muted
#827B7C

Preview Lab

Preview with #A42951

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

Preview Lab → · Contrast checker → · Palette generator →

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