#A42F6F#A42F6F

#A42F6F is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.2% C 0.165 H 351.1°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#A42F6F
RGBrgb(164, 47, 111)
HSLhsl(327, 55%, 41%)
HSVhsv(327, 71%, 64%)
CMYKcmyk(0%, 71.3%, 32.3%, 35.7%)
CIE-LABlab(39.71, 53.24, -9.85)
CIE-LCHlch(39.71, 54.14, 349.52°)
OKLaboklab(50.2% 0.1626 -0.0255)
OKLCHoklch(50.2% 0.165 351.1)
XYZxyz(19.1966, 11.0754, 16.1627)
Luminance0.1107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42F6F #2FA464
analogous
#9F2FA4 #A42F6F #A42F35
triadic
#A42F6F #6FA42F #2F6FA4
tetradic
#A42F6F #A49F2F #2FA464 #2F35A4
square
#A42F6F #A49F2F #2FA464 #2F35A4
split-complementary
#A42F6F #35A42F #2FA49F
monochromatic
#45142F #74214F #A42F6F #CA468E #D876AB

Accessibility & contrast

On white

6.53
#A42F6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42F6F
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42F6F#FFFFFF#000000##FFFFFF
##A42F6F1.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425071
Deuteranopia (green-blind)
#63656C
Tritanopia (blue-blind)
#B0284B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42f6f;
/* rgb */ color: rgb(164, 47, 111);
/* oklch */ color: oklch(50.2% 0.165 351.1);
Tailwind
colors: {
  custom: {
    50: '#c37198',
    500: '#a42f6f',
    950: '#000000',
  },
}
SCSS
$custom: #a42f6f;
$custom-light: #c37198;
$custom-dark: #000000;
JSON
{
  "hex": "#a42f6f",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 111
  },
  "hsl": {
    "h": 327.179,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50195,
    "c": 0.16461,
    "h": 351.1
  },
  "luminance": 0.11073
}

Semantic roles & 50–950 ramp

primary
#A42F6F
secondary
#6FC094
accent
#DF8D49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A42F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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