#A42E82#A42E82

#A42E82 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.9% C 0.177 H 341.7°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A42E82
RGBrgb(164, 46, 130)
HSLhsl(317, 56%, 41%)
HSVhsv(317, 72%, 64%)
CMYKcmyk(0%, 72%, 20.7%, 35.7%)
CIE-LABlab(40.34, 56.09, -20.67)
CIE-LCHlch(40.34, 59.78, 339.77°)
OKLaboklab(50.91% 0.1681 -0.0555)
OKLCHoklch(50.91% 0.177 341.7)
XYZxyz(20.3167, 11.4602, 22.2568)
Luminance0.1146 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42E82 #2EA450
analogous
#8B2EA4 #A42E82 #A42E47
triadic
#A42E82 #82A42E #2E82A4
tetradic
#A42E82 #A48B2E #2EA450 #2E47A4
square
#A42E82 #A48B2E #2EA450 #2E47A4
split-complementary
#A42E82 #47A42E #2EA48B
monochromatic
#441336 #74215C #A42E82 #CB45A4 #D874BB

Accessibility & contrast

On white

6.38
#A42E82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A42E82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42E82
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42E82#FFFFFF#000000##FFFFFF
##A42E821.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42e82;
/* rgb */ color: rgb(164, 46, 130);
/* oklch */ color: oklch(50.9% 0.177 341.7);
Tailwind
colors: {
  custom: {
    50: '#c371a6',
    500: '#a42e82',
    950: '#000000',
  },
}
SCSS
$custom: #a42e82;
$custom-light: #c371a6;
$custom-dark: #000000;
JSON
{
  "hex": "#a42e82",
  "rgb": {
    "r": 164,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 317.288,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50913,
    "c": 0.17698,
    "h": 341.7
  },
  "luminance": 0.11458
}

Semantic roles & 50–950 ramp

primary
#A42E82
secondary
#6EC086
accent
#DF7448
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A42E82

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

Preview Lab → · Contrast checker → · Palette generator →

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