#A42852#A42852

#A42852 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.5% C 0.162 H 5.4°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#A42852
RGBrgb(164, 40, 82)
HSLhsl(340, 61%, 40%)
HSVhsv(340, 76%, 64%)
CMYKcmyk(0%, 75.6%, 50%, 35.7%)
CIE-LABlab(37.88, 52.70, 5.81)
CIE-LCHlch(37.88, 53.02, 6.29°)
OKLaboklab(48.55% 0.1611 0.0153)
OKLCHoklch(48.55% 0.162 5.4)
XYZxyz(17.5931, 10.0217, 8.9890)
Luminance0.1002 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42852 #28A47A
analogous
#A42890 #A42852 #A43C28
triadic
#A42852 #52A428 #2852A4
tetradic
#A42852 #90A428 #28A47A #3C28A4
square
#A42852 #90A428 #28A47A #3C28A4
split-complementary
#A42852 #28A43C #2890A4
monochromatic
#421021 #731C39 #A42852 #CF3A6D #DB6B91

Accessibility & contrast

On white

6.99
#A42852 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#A42852 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42852
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42852#FFFFFF#000000##FFFFFF
##A428521.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464A53
Deuteranopia (green-blind)
#67624F
Tritanopia (blue-blind)
#B30A3A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a42852;
/* rgb */ color: rgb(164, 40, 82);
/* oklch */ color: oklch(48.5% 0.162 5.4);
Tailwind
colors: {
  custom: {
    50: '#c56d82',
    500: '#a42852',
    950: '#000000',
  },
}
SCSS
$custom: #a42852;
$custom-light: #c56d82;
$custom-dark: #000000;
JSON
{
  "hex": "#a42852",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 82
  },
  "hsl": {
    "h": 339.677,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.48547,
    "c": 0.16178,
    "h": 5.4
  },
  "luminance": 0.10019
}

Semantic roles & 50–950 ramp

primary
#A42852
secondary
#66C1A3
accent
#E4AE44
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14080A
muted
#827A7C

Preview Lab

Preview with #A42852

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

Preview Lab → · Contrast checker → · Palette generator →

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