#A42C7B#A42C7B

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

Color values

HEX#A42C7B
RGBrgb(164, 44, 123)
HSLhsl(321, 58%, 41%)
HSVhsv(321, 73%, 64%)
CMYKcmyk(0%, 73.2%, 25%, 35.7%)
CIE-LABlab(39.79, 55.85, -17.19)
CIE-LCHlch(39.79, 58.44, 342.89°)
OKLaboklab(50.41% 0.1689 -0.0458)
OKLCHoklch(50.41% 0.175 344.8)
XYZxyz(19.7865, 11.1260, 19.8406)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42C7B #2CA455
analogous
#912CA4 #A42C7B #A42C3F
triadic
#A42C7B #7BA42C #2C7BA4
tetradic
#A42C7B #A4912C #2CA455 #2C3FA4
square
#A42C7B #A4912C #2CA455 #2C3FA4
split-complementary
#A42C7B #3FA42C #2CA491
monochromatic
#431233 #741F57 #A42C7B #CC419D #D971B6

Accessibility & contrast

On white

6.51
#A42C7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42C7B
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42C7B#FFFFFF#000000##FFFFFF
##A42C7B1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517D
Deuteranopia (green-blind)
#5E6578
Tritanopia (blue-blind)
#AF2A50
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42c7b;
/* rgb */ color: rgb(164, 44, 123);
/* oklch */ color: oklch(50.4% 0.175 344.8);
Tailwind
colors: {
  custom: {
    50: '#c370a1',
    500: '#a42c7b',
    950: '#000000',
  },
}
SCSS
$custom: #a42c7b;
$custom-light: #c370a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a42c7b",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 123
  },
  "hsl": {
    "h": 320.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50412,
    "c": 0.17498,
    "h": 344.8
  },
  "luminance": 0.11124
}

Semantic roles & 50–950 ramp

primary
#A42C7B
secondary
#6BC088
accent
#E17C47
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A42C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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