#A42F5A#A42F5A

#A42F5A is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.5% C 0.156 H 2.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#A42F5A
RGBrgb(164, 47, 90)
HSLhsl(338, 55%, 41%)
HSVhsv(338, 71%, 64%)
CMYKcmyk(0%, 71.3%, 45.1%, 35.7%)
CIE-LABlab(39.01, 50.93, 2.35)
CIE-LCHlch(39.01, 50.98, 2.64°)
OKLaboklab(49.46% 0.1559 0.0066)
OKLCHoklch(49.46% 0.156 2.4)
XYZxyz(18.1732, 10.6660, 10.7726)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42F5A #2FA479
analogous
#A42F95 #A42F5A #A43F2F
triadic
#A42F5A #5AA42F #2F5AA4
tetradic
#A42F5A #95A42F #2FA479 #3F2FA4
square
#A42F5A #95A42F #2FA479 #3F2FA4
split-complementary
#A42F5A #2FA43F #2F95A4
monochromatic
#451426 #742140 #A42F5A #CA4677 #D8769A

Accessibility & contrast

On white

6.70
#A42F5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A42F5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42F5A
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42F5A#FFFFFF#000000##FFFFFF
##A42F5A1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484D5B
Deuteranopia (green-blind)
#686457
Tritanopia (blue-blind)
#B21D41
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a42f5a;
/* rgb */ color: rgb(164, 47, 90);
/* oklch */ color: oklch(49.5% 0.156 2.4);
Tailwind
colors: {
  custom: {
    50: '#c47188',
    500: '#a42f5a',
    950: '#000000',
  },
}
SCSS
$custom: #a42f5a;
$custom-light: #c47188;
$custom-dark: #000000;
JSON
{
  "hex": "#a42f5a",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 90
  },
  "hsl": {
    "h": 337.949,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49456,
    "c": 0.15605,
    "h": 2.4
  },
  "luminance": 0.10664
}

Semantic roles & 50–950 ramp

primary
#A42F5A
secondary
#6FC0A2
accent
#DFA849
background
#FCF7F8
surface
#F9EDEF
border
#D2C8CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A42F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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