#A42F6C#A42F6C

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

Color values

HEX#A42F6C
RGBrgb(164, 47, 108)
HSLhsl(329, 55%, 41%)
HSVhsv(329, 71%, 64%)
CMYKcmyk(0%, 71.3%, 34.1%, 35.7%)
CIE-LABlab(39.60, 52.88, -8.14)
CIE-LCHlch(39.60, 53.50, 351.25°)
OKLaboklab(50.08% 0.1618 -0.0209)
OKLCHoklch(50.08% 0.163 352.6)
XYZxyz(19.0342, 11.0104, 15.3073)
Luminance0.1101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42F6C #2FA467
analogous
#A22FA4 #A42F6C #A42F32
triadic
#A42F6C #6CA42F #2F6CA4
tetradic
#A42F6C #A4A22F #2FA467 #2F32A4
square
#A42F6C #A4A22F #2FA467 #2F32A4
split-complementary
#A42F6C #32A42F #2FA4A2
monochromatic
#45142D #74214D #A42F6C #CA468B #D876A9

Accessibility & contrast

On white

6.56
#A42F6C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A42F6C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42F6C
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42F6C#FFFFFF#000000##FFFFFF
##A42F6C1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43506E
Deuteranopia (green-blind)
#646569
Tritanopia (blue-blind)
#B12649
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a42f6c;
/* rgb */ color: rgb(164, 47, 108);
/* oklch */ color: oklch(50.1% 0.163 352.6);
Tailwind
colors: {
  custom: {
    50: '#c37196',
    500: '#a42f6c',
    950: '#000000',
  },
}
SCSS
$custom: #a42f6c;
$custom-light: #c37196;
$custom-dark: #000000;
JSON
{
  "hex": "#a42f6c",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 108
  },
  "hsl": {
    "h": 328.718,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50079,
    "c": 0.16313,
    "h": 352.6
  },
  "luminance": 0.11008
}

Semantic roles & 50–950 ramp

primary
#A42F6C
secondary
#6FC096
accent
#DF9149
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A42F6C

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

Preview Lab → · Contrast checker → · Palette generator →

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