#A42F6E#A42F6E

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

Color values

HEX#A42F6E
RGBrgb(164, 47, 110)
HSLhsl(328, 55%, 41%)
HSVhsv(328, 71%, 64%)
CMYKcmyk(0%, 71.3%, 32.9%, 35.7%)
CIE-LABlab(39.67, 53.12, -9.28)
CIE-LCHlch(39.67, 53.93, 350.09°)
OKLaboklab(50.16% 0.1623 -0.024)
OKLCHoklch(50.16% 0.164 351.6)
XYZxyz(19.1419, 11.0535, 15.8743)
Luminance0.1105 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42F6E #2FA465
analogous
#A02FA4 #A42F6E #A42F34
triadic
#A42F6E #6EA42F #2F6EA4
tetradic
#A42F6E #A4A02F #2FA465 #2F34A4
square
#A42F6E #A4A02F #2FA465 #2F34A4
split-complementary
#A42F6E #34A42F #2FA4A0
monochromatic
#45142E #74214E #A42F6E #CA468D #D876AA

Accessibility & contrast

On white

6.54
#A42F6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42F6E
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42F6E#FFFFFF#000000##FFFFFF
##A42F6E1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425070
Deuteranopia (green-blind)
#63656B
Tritanopia (blue-blind)
#B0274A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a42f6e;
/* rgb */ color: rgb(164, 47, 110);
/* oklch */ color: oklch(50.2% 0.164 351.6);
Tailwind
colors: {
  custom: {
    50: '#c37197',
    500: '#a42f6e',
    950: '#000000',
  },
}
SCSS
$custom: #a42f6e;
$custom-light: #c37197;
$custom-dark: #000000;
JSON
{
  "hex": "#a42f6e",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 110
  },
  "hsl": {
    "h": 327.692,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50156,
    "c": 0.1641,
    "h": 351.6
  },
  "luminance": 0.11051
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A42F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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