#A42F6A#A42F6A

#A42F6A is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.0% C 0.162 H 353.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#A42F6A
RGBrgb(164, 47, 106)
HSLhsl(330, 55%, 41%)
HSVhsv(330, 71%, 64%)
CMYKcmyk(0%, 71.3%, 35.4%, 35.7%)
CIE-LABlab(39.53, 52.65, -6.99)
CIE-LCHlch(39.53, 53.11, 352.44°)
OKLaboklab(50% 0.1612 -0.0178)
OKLCHoklch(50% 0.162 353.7)
XYZxyz(18.9290, 10.9684, 14.7532)
Luminance0.1097 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42F6A #2FA469
analogous
#A42FA4 #A42F6A #A42F2F
triadic
#A42F6A #6AA42F #2F6AA4
tetradic
#A42F6A #A4A42F #2FA469 #2F2FA4
square
#A42F6A #A4A42F #2FA469 #2F2FA4
split-complementary
#A42F6A #2FA42F #2FA4A4
monochromatic
#45142D #74214B #A42F6A #CA4689 #D876A7

Accessibility & contrast

On white

6.58
#A42F6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A42F6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42F6A
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42F6A#FFFFFF#000000##FFFFFF
##A42F6A1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434F6C
Deuteranopia (green-blind)
#646567
Tritanopia (blue-blind)
#B12548
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a42f6a;
/* rgb */ color: rgb(164, 47, 106);
/* oklch */ color: oklch(50.0% 0.162 353.7);
Tailwind
colors: {
  custom: {
    50: '#c37194',
    500: '#a42f6a',
    950: '#000000',
  },
}
SCSS
$custom: #a42f6a;
$custom-light: #c37194;
$custom-dark: #000000;
JSON
{
  "hex": "#a42f6a",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 106
  },
  "hsl": {
    "h": 329.744,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50004,
    "c": 0.16217,
    "h": 353.7
  },
  "luminance": 0.10966
}

Semantic roles & 50–950 ramp

primary
#A42F6A
secondary
#6FC097
accent
#DF9349
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A42F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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