#A42D7B#A42D7B

#A42D7B is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.5% C 0.174 H 344.9°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#A42D7B
RGBrgb(164, 45, 123)
HSLhsl(321, 57%, 41%)
HSVhsv(321, 73%, 64%)
CMYKcmyk(0%, 72.6%, 25%, 35.7%)
CIE-LABlab(39.92, 55.50, -17.00)
CIE-LCHlch(39.92, 58.04, 342.97°)
OKLaboklab(50.5% 0.1678 -0.0452)
OKLCHoklch(50.5% 0.174 344.9)
XYZxyz(19.8242, 11.2014, 19.8531)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42D7B #2DA456
analogous
#912DA4 #A42D7B #A42D3F
triadic
#A42D7B #7BA42D #2D7BA4
tetradic
#A42D7B #A4912D #2DA456 #2D3FA4
square
#A42D7B #A4912D #2DA456 #2D3FA4
split-complementary
#A42D7B #3FA42D #2DA491
monochromatic
#441333 #742057 #A42D7B #CB439C #D973B6

Accessibility & contrast

On white

6.48
#A42D7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A42D7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42D7B
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42D7B#FFFFFF#000000##FFFFFF
##A42D7B1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517D
Deuteranopia (green-blind)
#5F6578
Tritanopia (blue-blind)
#AF2B50
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42d7b;
/* rgb */ color: rgb(164, 45, 123);
/* oklch */ color: oklch(50.5% 0.174 344.9);
Tailwind
colors: {
  custom: {
    50: '#c371a1',
    500: '#a42d7b',
    950: '#000000',
  },
}
SCSS
$custom: #a42d7b;
$custom-light: #c371a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a42d7b",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 123
  },
  "hsl": {
    "h": 320.672,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50504,
    "c": 0.17379,
    "h": 344.9
  },
  "luminance": 0.11199
}

Semantic roles & 50–950 ramp

primary
#A42D7B
secondary
#6DC089
accent
#E07C48
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A42D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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