#A42E6C#A42E6C

#A42E6C is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.164 H 352.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#A42E6C
RGBrgb(164, 46, 108)
HSLhsl(328, 56%, 41%)
HSVhsv(328, 72%, 64%)
CMYKcmyk(0%, 72%, 34.1%, 35.7%)
CIE-LABlab(39.46, 53.25, -8.34)
CIE-LCHlch(39.46, 53.90, 351.10°)
OKLaboklab(49.98% 0.163 -0.0214)
OKLCHoklch(49.98% 0.164 352.5)
XYZxyz(18.9947, 10.9314, 15.2941)
Luminance0.1093 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42E6C #2EA466
analogous
#A12EA4 #A42E6C #A42E31
triadic
#A42E6C #6CA42E #2E6CA4
tetradic
#A42E6C #A4A12E #2EA466 #2E31A4
square
#A42E6C #A4A12E #2EA466 #2E31A4
split-complementary
#A42E6C #31A42E #2EA4A1
monochromatic
#44132D #74214D #A42E6C #CB458B #D874A9

Accessibility & contrast

On white

6.59
#A42E6C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42E6C
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42E6C#FFFFFF#000000##FFFFFF
##A42E6C1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424F6E
Deuteranopia (green-blind)
#636569
Tritanopia (blue-blind)
#B12549
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a42e6c;
/* rgb */ color: rgb(164, 46, 108);
/* oklch */ color: oklch(50.0% 0.164 352.5);
Tailwind
colors: {
  custom: {
    50: '#c37196',
    500: '#a42e6c',
    950: '#000000',
  },
}
SCSS
$custom: #a42e6c;
$custom-light: #c37196;
$custom-dark: #000000;
JSON
{
  "hex": "#a42e6c",
  "rgb": {
    "r": 164,
    "g": 46,
    "b": 108
  },
  "hsl": {
    "h": 328.475,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49982,
    "c": 0.16435,
    "h": 352.5
  },
  "luminance": 0.10929
}

Semantic roles & 50–950 ramp

primary
#A42E6C
secondary
#6EC095
accent
#DF9048
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A42E6C

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

Preview Lab → · Contrast checker → · Palette generator →

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