#A42A6F#A42A6F

#A42A6F is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.7% C 0.171 H 350.5°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#A42A6F
RGBrgb(164, 42, 111)
HSLhsl(326, 59%, 40%)
HSVhsv(326, 74%, 64%)
CMYKcmyk(0%, 74.4%, 32.3%, 35.7%)
CIE-LABlab(39.07, 55.03, -10.81)
CIE-LCHlch(39.07, 56.09, 348.88°)
OKLaboklab(49.73% 0.1682 -0.0281)
OKLCHoklch(49.73% 0.171 350.5)
XYZxyz(19.0081, 10.6983, 16.0998)
Luminance0.1070 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42A6F #2AA45F
analogous
#9C2AA4 #A42A6F #A42A32
triadic
#A42A6F #6FA42A #2A6FA4
tetradic
#A42A6F #A49C2A #2AA45F #2A32A4
square
#A42A6F #A49C2A #2AA45F #2A32A4
split-complementary
#A42A6F #32A42A #2AA49C
monochromatic
#43112D #731E4E #A42A6F #CD3E8F #DA6EAB

Accessibility & contrast

On white

6.69
#A42A6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A42A6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42A6F
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42A6F#FFFFFF#000000##FFFFFF
##A42A6F1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4E71
Deuteranopia (green-blind)
#61646C
Tritanopia (blue-blind)
#B02249
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a42a6f;
/* rgb */ color: rgb(164, 42, 111);
/* oklch */ color: oklch(49.7% 0.171 350.5);
Tailwind
colors: {
  custom: {
    50: '#c36f98',
    500: '#a42a6f',
    950: '#000000',
  },
}
SCSS
$custom: #a42a6f;
$custom-light: #c36f98;
$custom-dark: #000000;
JSON
{
  "hex": "#a42a6f",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 111
  },
  "hsl": {
    "h": 326.066,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49727,
    "c": 0.17058,
    "h": 350.5
  },
  "luminance": 0.10696
}

Semantic roles & 50–950 ramp

primary
#A42A6F
secondary
#69C18F
accent
#E28A45
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A42A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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