#A42154#A42154

#A42154 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.0% C 0.169 H 3.2°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#A42154
RGBrgb(164, 33, 84)
HSLhsl(337, 66%, 39%)
HSVhsv(337, 80%, 64%)
CMYKcmyk(0%, 79.9%, 48.8%, 35.7%)
CIE-LABlab(37.16, 55.08, 3.49)
CIE-LCHlch(37.16, 55.19, 3.63°)
OKLaboklab(48.03% 0.1689 0.0095)
OKLCHoklch(48.03% 0.169 3.2)
XYZxyz(17.4554, 9.6227, 9.3240)
Luminance0.0962 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42154 #21A471
analogous
#A42195 #A42154 #A42F21
triadic
#A42154 #54A421 #2154A4
tetradic
#A42154 #95A421 #21A471 #2F21A4
square
#A42154 #95A421 #21A471 #2F21A4
split-complementary
#A42154 #21A42F #2195A4
monochromatic
#3E0C20 #71173A #A42154 #D52D6F #DF6092

Accessibility & contrast

On white

7.18
#A42154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#A42154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A42154
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42154#FFFFFF#000000##FFFFFF
##A421541.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424755
Deuteranopia (green-blind)
#656151
Tritanopia (blue-blind)
#B30038
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a42154;
/* rgb */ color: rgb(164, 33, 84);
/* oklch */ color: oklch(48.0% 0.169 3.2);
Tailwind
colors: {
  custom: {
    50: '#c56b83',
    500: '#a42154',
    950: '#000000',
  },
}
SCSS
$custom: #a42154;
$custom-light: #c56b83;
$custom-dark: #000000;
JSON
{
  "hex": "#a42154",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 336.641,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48032,
    "c": 0.16915,
    "h": 3.2
  },
  "luminance": 0.0962
}

Semantic roles & 50–950 ramp

primary
#A42154
secondary
#5DC49C
accent
#E9A73E
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14070A
muted
#827A7C

Preview Lab

Preview with #A42154

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

Preview Lab → · Contrast checker → · Palette generator →

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