#A42F5D#A42F5D

#A42F5D is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.6% C 0.157 H 0.8°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#A42F5D
RGBrgb(164, 47, 93)
HSLhsl(336, 55%, 41%)
HSVhsv(336, 71%, 64%)
CMYKcmyk(0%, 71.3%, 43.3%, 35.7%)
CIE-LABlab(39.10, 51.23, 0.58)
CIE-LCHlch(39.10, 51.23, 0.65°)
OKLaboklab(49.55% 0.157 0.0021)
OKLCHoklch(49.55% 0.157 0.8)
XYZxyz(18.3035, 10.7182, 11.4588)
Luminance0.1072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42F5D #2FA476
analogous
#A42F98 #A42F5D #A43C2F
triadic
#A42F5D #5DA42F #2F5DA4
tetradic
#A42F5D #98A42F #2FA476 #3C2FA4
square
#A42F5D #98A42F #2FA476 #3C2FA4
split-complementary
#A42F5D #2FA43C #2F98A4
monochromatic
#451427 #742142 #A42F5D #CA467A #D8769C

Accessibility & contrast

On white

6.68
#A42F5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A42F5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42F5D
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42F5D#FFFFFF#000000##FFFFFF
##A42F5D1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484E5E
Deuteranopia (green-blind)
#67645A
Tritanopia (blue-blind)
#B21F42
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a42f5d;
/* rgb */ color: rgb(164, 47, 93);
/* oklch */ color: oklch(49.6% 0.157 0.8);
Tailwind
colors: {
  custom: {
    50: '#c4718a',
    500: '#a42f5d',
    950: '#000000',
  },
}
SCSS
$custom: #a42f5d;
$custom-light: #c4718a;
$custom-dark: #000000;
JSON
{
  "hex": "#a42f5d",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 93
  },
  "hsl": {
    "h": 336.41,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49551,
    "c": 0.15699,
    "h": 0.8
  },
  "luminance": 0.10716
}

Semantic roles & 50–950 ramp

primary
#A42F5D
secondary
#6FC0A0
accent
#DFA449
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A42F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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