#A42A5F#A42A5F

#A42A5F is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.1% C 0.164 H 358.8°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#A42A5F
RGBrgb(164, 42, 95)
HSLhsl(334, 59%, 40%)
HSVhsv(334, 74%, 64%)
CMYKcmyk(0%, 74.4%, 42.1%, 35.7%)
CIE-LABlab(38.51, 53.26, -1.55)
CIE-LCHlch(38.51, 53.28, 358.33°)
OKLaboklab(49.14% 0.1635 -0.0034)
OKLCHoklch(49.14% 0.164 358.8)
XYZxyz(18.2047, 10.3770, 11.8686)
Luminance0.1037 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42A5F #2AA46F
analogous
#A42A9C #A42A5F #A4322A
triadic
#A42A5F #5FA42A #2A5FA4
tetradic
#A42A5F #9CA42A #2AA46F #322AA4
square
#A42A5F #9CA42A #2AA46F #322AA4
split-complementary
#A42A5F #2AA432 #2A9CA4
monochromatic
#431127 #731E43 #A42A5F #CD3E7C #DA6E9D

Accessibility & contrast

On white

6.83
#A42A5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42A5F
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42A5F#FFFFFF#000000##FFFFFF
##A42A5F1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444C60
Deuteranopia (green-blind)
#65635C
Tritanopia (blue-blind)
#B21841
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a42a5f;
/* rgb */ color: rgb(164, 42, 95);
/* oklch */ color: oklch(49.1% 0.164 358.8);
Tailwind
colors: {
  custom: {
    50: '#c46f8c',
    500: '#a42a5f',
    950: '#000000',
  },
}
SCSS
$custom: #a42a5f;
$custom-light: #c46f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#a42a5f",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 95
  },
  "hsl": {
    "h": 333.934,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49136,
    "c": 0.16351,
    "h": 358.8
  },
  "luminance": 0.10375
}

Semantic roles & 50–950 ramp

primary
#A42A5F
secondary
#69C19B
accent
#E29E45
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A42A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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