#A42B7B#A42B7B

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

Color values

HEX#A42B7B
RGBrgb(164, 43, 123)
HSLhsl(320, 58%, 41%)
HSVhsv(320, 74%, 64%)
CMYKcmyk(0%, 73.8%, 25%, 35.7%)
CIE-LABlab(39.67, 56.20, -17.38)
CIE-LCHlch(39.67, 58.83, 342.81°)
OKLaboklab(50.32% 0.17 -0.0463)
OKLCHoklch(50.32% 0.176 344.8)
XYZxyz(19.7497, 11.0524, 19.8283)
Luminance0.1105 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42B7B #2BA454
analogous
#902BA4 #A42B7B #A42B3E
triadic
#A42B7B #7BA42B #2B7BA4
tetradic
#A42B7B #A4902B #2BA454 #2B3EA4
square
#A42B7B #A4902B #2BA454 #2B3EA4
split-complementary
#A42B7B #3EA42B #2BA490
monochromatic
#431232 #741E57 #A42B7B #CD3F9D #D970B6

Accessibility & contrast

On white

6.54
#A42B7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A42B7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42B7B
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42B7B#FFFFFF#000000##FFFFFF
##A42B7B1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39507D
Deuteranopia (green-blind)
#5E6578
Tritanopia (blue-blind)
#AF294F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a42b7b;
/* rgb */ color: rgb(164, 43, 123);
/* oklch */ color: oklch(50.3% 0.176 344.8);
Tailwind
colors: {
  custom: {
    50: '#c370a1',
    500: '#a42b7b',
    950: '#000000',
  },
}
SCSS
$custom: #a42b7b;
$custom-light: #c370a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a42b7b",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 123
  },
  "hsl": {
    "h": 320.331,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50322,
    "c": 0.17615,
    "h": 344.8
  },
  "luminance": 0.1105
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A42B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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