#A42B7E#A42B7E

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

Color values

HEX#A42B7E
RGBrgb(164, 43, 126)
HSLhsl(319, 58%, 41%)
HSVhsv(319, 74%, 64%)
CMYKcmyk(0%, 73.8%, 23.2%, 35.7%)
CIE-LABlab(39.80, 56.60, -19.04)
CIE-LCHlch(39.80, 59.72, 341.40°)
OKLaboklab(50.46% 0.1706 -0.0509)
OKLCHoklch(50.46% 0.178 343.4)
XYZxyz(19.9403, 11.1287, 20.8325)
Luminance0.1113 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42B7E #2BA451
analogous
#8D2BA4 #A42B7E #A42B41
triadic
#A42B7E #7EA42B #2B7EA4
tetradic
#A42B7E #A48D2B #2BA451 #2B41A4
square
#A42B7E #A48D2B #2BA451 #2B41A4
split-complementary
#A42B7E #41A42B #2BA48D
monochromatic
#431233 #741E59 #A42B7E #CD3FA0 #D970B8

Accessibility & contrast

On white

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

On black

3.23
#A42B7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A42B7E#FFFFFF#000000##FFFFFF
##A42B7E1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385180
Deuteranopia (green-blind)
#5D657B
Tritanopia (blue-blind)
#AF2B51
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42b7e;
/* rgb */ color: rgb(164, 43, 126);
/* oklch */ color: oklch(50.5% 0.178 343.4);
Tailwind
colors: {
  custom: {
    50: '#c370a3',
    500: '#a42b7e',
    950: '#000000',
  },
}
SCSS
$custom: #a42b7e;
$custom-light: #c370a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a42b7e",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 126
  },
  "hsl": {
    "h": 318.843,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50457,
    "c": 0.17799,
    "h": 343.4
  },
  "luminance": 0.11127
}

Semantic roles & 50–950 ramp

primary
#A42B7E
secondary
#6AC185
accent
#E27746
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A42B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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