#A42862#A42862

#A42862 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.1% C 0.167 H 356.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#A42862
RGBrgb(164, 40, 98)
HSLhsl(332, 61%, 40%)
HSVhsv(332, 76%, 64%)
CMYKcmyk(0%, 75.6%, 40.2%, 35.7%)
CIE-LABlab(38.37, 54.25, -3.67)
CIE-LCHlch(38.37, 54.37, 356.13°)
OKLaboklab(49.06% 0.1666 -0.009)
OKLCHoklch(49.06% 0.167 356.9)
XYZxyz(18.2745, 10.2942, 12.5776)
Luminance0.1029 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42862 #28A46A
analogous
#A428A0 #A42862 #A42C28
triadic
#A42862 #62A428 #2862A4
tetradic
#A42862 #A0A428 #28A46A #2C28A4
square
#A42862 #A0A428 #28A46A #2C28A4
split-complementary
#A42862 #28A42C #28A0A4
monochromatic
#421027 #731C45 #A42862 #CF3A80 #DB6BA0

Accessibility & contrast

On white

6.87
#A42862 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#A42862 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42862
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42862#FFFFFF#000000##FFFFFF
##A428621.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424B63
Deuteranopia (green-blind)
#64635F
Tritanopia (blue-blind)
#B21741
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a42862;
/* rgb */ color: rgb(164, 40, 98);
/* oklch */ color: oklch(49.1% 0.167 356.9);
Tailwind
colors: {
  custom: {
    50: '#c46e8e',
    500: '#a42862',
    950: '#000000',
  },
}
SCSS
$custom: #a42862;
$custom-light: #c46e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#a42862",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 98
  },
  "hsl": {
    "h": 331.935,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.49062,
    "c": 0.16686,
    "h": 356.9
  },
  "luminance": 0.10292
}

Semantic roles & 50–950 ramp

primary
#A42862
secondary
#66C197
accent
#E49944
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A42862

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

Preview Lab → · Contrast checker → · Palette generator →

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