#A42E6F#A42E6F

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

Color values

HEX#A42E6F
RGBrgb(164, 46, 111)
HSLhsl(327, 56%, 41%)
HSVhsv(327, 72%, 64%)
CMYKcmyk(0%, 72%, 32.3%, 35.7%)
CIE-LABlab(39.57, 53.61, -10.05)
CIE-LCHlch(39.57, 54.55, 349.38°)
OKLaboklab(50.1% 0.1638 -0.0261)
OKLCHoklch(50.1% 0.166 350.9)
XYZxyz(19.1571, 10.9964, 16.1495)
Luminance0.1099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42E6F #2EA463
analogous
#9E2EA4 #A42E6F #A42E34
triadic
#A42E6F #6FA42E #2E6FA4
tetradic
#A42E6F #A49E2E #2EA463 #2E34A4
square
#A42E6F #A49E2E #2EA463 #2E34A4
split-complementary
#A42E6F #34A42E #2EA49E
monochromatic
#44132E #74214F #A42E6F #CB458E #D874AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A42E6F#FFFFFF#000000##FFFFFF
##A42E6F1.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)
#415071
Deuteranopia (green-blind)
#63656C
Tritanopia (blue-blind)
#B0264A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a42e6f;
/* rgb */ color: rgb(164, 46, 111);
/* oklch */ color: oklch(50.1% 0.166 350.9);
Tailwind
colors: {
  custom: {
    50: '#c37198',
    500: '#a42e6f',
    950: '#000000',
  },
}
SCSS
$custom: #a42e6f;
$custom-light: #c37198;
$custom-dark: #000000;
JSON
{
  "hex": "#a42e6f",
  "rgb": {
    "r": 164,
    "g": 46,
    "b": 111
  },
  "hsl": {
    "h": 326.949,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50098,
    "c": 0.16585,
    "h": 350.9
  },
  "luminance": 0.10994
}

Semantic roles & 50–950 ramp

primary
#A42E6F
secondary
#6EC093
accent
#DF8C48
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A42E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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