#A42F82#A42F82

#A42F82 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.176 H 341.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A42F82
RGBrgb(164, 47, 130)
HSLhsl(317, 55%, 41%)
HSVhsv(317, 71%, 64%)
CMYKcmyk(0%, 71.3%, 20.7%, 35.7%)
CIE-LABlab(40.47, 55.73, -20.47)
CIE-LCHlch(40.47, 59.37, 339.83°)
OKLaboklab(51.01% 0.1669 -0.0549)
OKLCHoklch(51.01% 0.176 341.8)
XYZxyz(20.3563, 11.5393, 22.2700)
Luminance0.1154 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42F82 #2FA451
analogous
#8C2FA4 #A42F82 #A42F48
triadic
#A42F82 #82A42F #2F82A4
tetradic
#A42F82 #A48C2F #2FA451 #2F48A4
square
#A42F82 #A48C2F #2FA451 #2F48A4
split-complementary
#A42F82 #48A42F #2FA48C
monochromatic
#451437 #74215C #A42F82 #CA46A4 #D876BB

Accessibility & contrast

On white

6.35
#A42F82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A42F82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42F82
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42F82#FFFFFF#000000##FFFFFF
##A42F821.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395384
Deuteranopia (green-blind)
#5D667F
Tritanopia (blue-blind)
#AE3154
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a42f82;
/* rgb */ color: rgb(164, 47, 130);
/* oklch */ color: oklch(51.0% 0.176 341.8);
Tailwind
colors: {
  custom: {
    50: '#c372a6',
    500: '#a42f82',
    950: '#000000',
  },
}
SCSS
$custom: #a42f82;
$custom-light: #c372a6;
$custom-dark: #000000;
JSON
{
  "hex": "#a42f82",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 317.436,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51007,
    "c": 0.17575,
    "h": 341.8
  },
  "luminance": 0.11537
}

Semantic roles & 50–950 ramp

primary
#A42F82
secondary
#6FC087
accent
#DF7549
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A42F82

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

Preview Lab → · Contrast checker → · Palette generator →

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