#A42B7F#A42B7F

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

Color values

HEX#A42B7F
RGBrgb(164, 43, 127)
HSLhsl(318, 58%, 41%)
HSVhsv(318, 74%, 64%)
CMYKcmyk(0%, 73.8%, 22.6%, 35.7%)
CIE-LABlab(39.84, 56.73, -19.60)
CIE-LCHlch(39.84, 60.02, 340.94°)
OKLaboklab(50.5% 0.1707 -0.0525)
OKLCHoklch(50.5% 0.179 342.9)
XYZxyz(20.0052, 11.1546, 21.1741)
Luminance0.1115 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42B7F #2BA450
analogous
#8C2BA4 #A42B7F #A42B42
triadic
#A42B7F #7FA42B #2B7FA4
tetradic
#A42B7F #A48C2B #2BA450 #2B42A4
square
#A42B7F #A48C2B #2BA450 #2B42A4
split-complementary
#A42B7F #42A42B #2BA48C
monochromatic
#431234 #741E59 #A42B7F #CD3FA2 #D970B9

Accessibility & contrast

On white

6.50
#A42B7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42B7F
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42B7F#FFFFFF#000000##FFFFFF
##A42B7F1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375181
Deuteranopia (green-blind)
#5D657C
Tritanopia (blue-blind)
#AF2C51
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42b7f;
/* rgb */ color: rgb(164, 43, 127);
/* oklch */ color: oklch(50.5% 0.179 342.9);
Tailwind
colors: {
  custom: {
    50: '#c370a4',
    500: '#a42b7f',
    950: '#000000',
  },
}
SCSS
$custom: #a42b7f;
$custom-light: #c370a4;
$custom-dark: #000000;
JSON
{
  "hex": "#a42b7f",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 127
  },
  "hsl": {
    "h": 318.347,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50503,
    "c": 0.17861,
    "h": 342.9
  },
  "luminance": 0.11153
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A42B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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