#A42B5D#A42B5D

#A42B5D is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.2% C 0.162 H 0.0°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#A42B5D
RGBrgb(164, 43, 93)
HSLhsl(335, 58%, 41%)
HSVhsv(335, 74%, 64%)
CMYKcmyk(0%, 73.8%, 43.3%, 35.7%)
CIE-LABlab(38.57, 52.70, -0.19)
CIE-LCHlch(38.57, 52.70, 359.79°)
OKLaboklab(49.16% 0.1617 0.0001)
OKLCHoklch(49.16% 0.162 0)
XYZxyz(18.1509, 10.4129, 11.4079)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42B5D #2BA472
analogous
#A42B99 #A42B5D #A4362B
triadic
#A42B5D #5DA42B #2B5DA4
tetradic
#A42B5D #99A42B #2BA472 #362BA4
square
#A42B5D #99A42B #2BA472 #362BA4
split-complementary
#A42B5D #2BA436 #2B99A4
monochromatic
#431226 #741E42 #A42B5D #CD3F7A #D9709C

Accessibility & contrast

On white

6.81
#A42B5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#A42B5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42B5D
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42B5D#FFFFFF#000000##FFFFFF
##A42B5D1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454C5E
Deuteranopia (green-blind)
#66635A
Tritanopia (blue-blind)
#B21940
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a42b5d;
/* rgb */ color: rgb(164, 43, 93);
/* oklch */ color: oklch(49.2% 0.162 0.0);
Tailwind
colors: {
  custom: {
    50: '#c46f8a',
    500: '#a42b5d',
    950: '#000000',
  },
}
SCSS
$custom: #a42b5d;
$custom-light: #c46f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a42b5d",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 93
  },
  "hsl": {
    "h": 335.207,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49162,
    "c": 0.16167,
    "h": 0
  },
  "luminance": 0.10411
}

Semantic roles & 50–950 ramp

primary
#A42B5D
secondary
#6AC19D
accent
#E2A146
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A42B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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