#A42173#A42173

#A42173 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.2% C 0.182 H 347.8°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#A42173
RGBrgb(164, 33, 115)
HSLhsl(322, 66%, 39%)
HSVhsv(322, 80%, 64%)
CMYKcmyk(0%, 79.9%, 29.9%, 35.7%)
CIE-LABlab(38.23, 58.32, -14.59)
CIE-LCHlch(38.23, 60.12, 345.96°)
OKLaboklab(49.17% 0.178 -0.0384)
OKLCHoklch(49.17% 0.182 347.8)
XYZxyz(18.9492, 10.2202, 17.1911)
Luminance0.1022 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42173 #21A452
analogous
#9321A4 #A42173 #A42131
triadic
#A42173 #73A421 #2173A4
tetradic
#A42173 #A49321 #21A452 #2131A4
square
#A42173 #A49321 #21A452 #2131A4
split-complementary
#A42173 #31A421 #21A493
monochromatic
#3E0C2C #71174F #A42173 #D52D96 #DF60B0

Accessibility & contrast

On white

6.90
#A42173 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#A42173 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42173
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42173#FFFFFF#000000##FFFFFF
##A421731.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364C75
Deuteranopia (green-blind)
#5D6270
Tritanopia (blue-blind)
#B01A48
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a42173;
/* rgb */ color: rgb(164, 33, 115);
/* oklch */ color: oklch(49.2% 0.182 347.8);
Tailwind
colors: {
  custom: {
    50: '#c36c9b',
    500: '#a42173',
    950: '#000000',
  },
}
SCSS
$custom: #a42173;
$custom-light: #c36c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#a42173",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 322.443,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49172,
    "c": 0.18212,
    "h": 347.8
  },
  "luminance": 0.10218
}

Semantic roles & 50–950 ramp

primary
#A42173
secondary
#5DC483
accent
#E97E3E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #A42173

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

Preview Lab → · Contrast checker → · Palette generator →

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