#A42D5F#A42D5F

#A42D5F is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.4% C 0.160 H 359.3°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#A42D5F
RGBrgb(164, 45, 95)
HSLhsl(335, 57%, 41%)
HSVhsv(335, 73%, 64%)
CMYKcmyk(0%, 72.6%, 42.1%, 35.7%)
CIE-LABlab(38.89, 52.18, -0.99)
CIE-LCHlch(38.89, 52.19, 358.91°)
OKLaboklab(49.42% 0.1601 -0.002)
OKLCHoklch(49.42% 0.16 359.3)
XYZxyz(18.3151, 10.5978, 11.9054)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42D5F #2DA472
analogous
#A42D9A #A42D5F #A4362D
triadic
#A42D5F #5FA42D #2D5FA4
tetradic
#A42D5F #9AA42D #2DA472 #362DA4
square
#A42D5F #9AA42D #2DA472 #362DA4
split-complementary
#A42D5F #2DA436 #2D9AA4
monochromatic
#441327 #742043 #A42D5F #CB437C #D9739E

Accessibility & contrast

On white

6.73
#A42D5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A42D5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42D5F
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42D5F#FFFFFF#000000##FFFFFF
##A42D5F1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464D60
Deuteranopia (green-blind)
#66645C
Tritanopia (blue-blind)
#B21D42
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a42d5f;
/* rgb */ color: rgb(164, 45, 95);
/* oklch */ color: oklch(49.4% 0.160 359.3);
Tailwind
colors: {
  custom: {
    50: '#c4708c',
    500: '#a42d5f',
    950: '#000000',
  },
}
SCSS
$custom: #a42d5f;
$custom-light: #c4708c;
$custom-dark: #000000;
JSON
{
  "hex": "#a42d5f",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 95
  },
  "hsl": {
    "h": 334.79,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49419,
    "c": 0.16006,
    "h": 359.3
  },
  "luminance": 0.10596
}

Semantic roles & 50–950 ramp

primary
#A42D5F
secondary
#6DC09D
accent
#E0A048
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A42D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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