#A42751#A42751

#A42751 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.4% C 0.163 H 5.8°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#A42751
RGBrgb(164, 39, 81)
HSLhsl(340, 62%, 40%)
HSVhsv(340, 76%, 64%)
CMYKcmyk(0%, 76.2%, 50.6%, 35.7%)
CIE-LABlab(37.73, 52.95, 6.24)
CIE-LCHlch(37.73, 53.32, 6.72°)
OKLaboklab(48.43% 0.1618 0.0164)
OKLCHoklch(48.43% 0.163 5.8)
XYZxyz(17.5221, 9.9400, 8.7789)
Luminance0.0994 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42751 #27A47A
analogous
#A42790 #A42751 #A43C27
triadic
#A42751 #51A427 #2751A4
tetradic
#A42751 #90A427 #27A47A #3C27A4
square
#A42751 #90A427 #27A47A #3C27A4
split-complementary
#A42751 #27A43C #2790A4
monochromatic
#410F20 #731B39 #A42751 #D0386B #DC6A90

Accessibility & contrast

On white

7.03
#A42751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#A42751 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A42751
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42751#FFFFFF#000000##FFFFFF
##A427511.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464952
Deuteranopia (green-blind)
#67624E
Tritanopia (blue-blind)
#B30639
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a42751;
/* rgb */ color: rgb(164, 39, 81);
/* oklch */ color: oklch(48.4% 0.163 5.8);
Tailwind
colors: {
  custom: {
    50: '#c56d81',
    500: '#a42751',
    950: '#000000',
  },
}
SCSS
$custom: #a42751;
$custom-light: #c56d81;
$custom-dark: #000000;
JSON
{
  "hex": "#a42751",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 81
  },
  "hsl": {
    "h": 339.84,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4843,
    "c": 0.16259,
    "h": 5.8
  },
  "luminance": 0.09938
}

Semantic roles & 50–950 ramp

primary
#A42751
secondary
#65C2A3
accent
#E5AE43
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14080A
muted
#827A7C

Preview Lab

Preview with #A42751

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

Preview Lab → · Contrast checker → · Palette generator →

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