#A42F6D#A42F6D

#A42F6D is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.1% C 0.164 H 352.1°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#A42F6D
RGBrgb(164, 47, 109)
HSLhsl(328, 55%, 41%)
HSVhsv(328, 71%, 64%)
CMYKcmyk(0%, 71.3%, 33.5%, 35.7%)
CIE-LABlab(39.63, 53.00, -8.71)
CIE-LCHlch(39.63, 53.71, 350.67°)
OKLaboklab(50.12% 0.1621 -0.0225)
OKLCHoklch(50.12% 0.164 352.1)
XYZxyz(19.0877, 11.0319, 15.5892)
Luminance0.1103 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42F6D #2FA466
analogous
#A12FA4 #A42F6D #A42F33
triadic
#A42F6D #6DA42F #2F6DA4
tetradic
#A42F6D #A4A12F #2FA466 #2F33A4
square
#A42F6D #A4A12F #2FA466 #2F33A4
split-complementary
#A42F6D #33A42F #2FA4A1
monochromatic
#45142E #74214D #A42F6D #CA468C #D876AA

Accessibility & contrast

On white

6.55
#A42F6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42F6D
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42F6D#FFFFFF#000000##FFFFFF
##A42F6D1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42506F
Deuteranopia (green-blind)
#63656A
Tritanopia (blue-blind)
#B0274A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a42f6d;
/* rgb */ color: rgb(164, 47, 109);
/* oklch */ color: oklch(50.1% 0.164 352.1);
Tailwind
colors: {
  custom: {
    50: '#c37196',
    500: '#a42f6d',
    950: '#000000',
  },
}
SCSS
$custom: #a42f6d;
$custom-light: #c37196;
$custom-dark: #000000;
JSON
{
  "hex": "#a42f6d",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 109
  },
  "hsl": {
    "h": 328.205,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50118,
    "c": 0.16361,
    "h": 352.1
  },
  "luminance": 0.1103
}

Semantic roles & 50–950 ramp

primary
#A42F6D
secondary
#6FC095
accent
#DF8F49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A42F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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