#A42B7C#A42B7C

#A42B7C is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.177 H 344.3°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#A42B7C
RGBrgb(164, 43, 124)
HSLhsl(320, 58%, 41%)
HSVhsv(320, 74%, 64%)
CMYKcmyk(0%, 73.8%, 24.4%, 35.7%)
CIE-LABlab(39.71, 56.33, -17.94)
CIE-LCHlch(39.71, 59.12, 342.34°)
OKLaboklab(50.37% 0.1702 -0.0478)
OKLCHoklch(50.37% 0.177 344.3)
XYZxyz(19.8126, 11.0776, 20.1597)
Luminance0.1108 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42B7C #2BA453
analogous
#8F2BA4 #A42B7C #A42B3F
triadic
#A42B7C #7CA42B #2B7CA4
tetradic
#A42B7C #A48F2B #2BA453 #2B3FA4
square
#A42B7C #A48F2B #2BA453 #2B3FA4
split-complementary
#A42B7C #3FA42B #2BA48F
monochromatic
#431233 #741E57 #A42B7C #CD3F9E #D970B7

Accessibility & contrast

On white

6.53
#A42B7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A42B7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42B7C
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42B7C#FFFFFF#000000##FFFFFF
##A42B7C1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39517E
Deuteranopia (green-blind)
#5E6579
Tritanopia (blue-blind)
#AF2A50
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42b7c;
/* rgb */ color: rgb(164, 43, 124);
/* oklch */ color: oklch(50.4% 0.177 344.3);
Tailwind
colors: {
  custom: {
    50: '#c370a2',
    500: '#a42b7c',
    950: '#000000',
  },
}
SCSS
$custom: #a42b7c;
$custom-light: #c370a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a42b7c",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 124
  },
  "hsl": {
    "h": 319.835,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50367,
    "c": 0.17675,
    "h": 344.3
  },
  "luminance": 0.11076
}

Semantic roles & 50–950 ramp

primary
#A42B7C
secondary
#6AC187
accent
#E27A46
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A42B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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