#A42158#A42158

#A42158 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.170 H 1.2°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#A42158
RGBrgb(164, 33, 88)
HSLhsl(335, 66%, 39%)
HSVhsv(335, 80%, 64%)
CMYKcmyk(0%, 79.9%, 46.3%, 35.7%)
CIE-LABlab(37.28, 55.44, 1.10)
CIE-LCHlch(37.28, 55.46, 1.14°)
OKLaboklab(48.16% 0.1703 0.0034)
OKLCHoklch(48.16% 0.17 1.2)
XYZxyz(17.6166, 9.6872, 10.1728)
Luminance0.0969 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42158 #21A46D
analogous
#A42199 #A42158 #A42B21
triadic
#A42158 #58A421 #2158A4
tetradic
#A42158 #99A421 #21A46D #2B21A4
square
#A42158 #99A421 #21A46D #2B21A4
split-complementary
#A42158 #21A42B #2199A4
monochromatic
#3E0C21 #71173D #A42158 #D52D74 #DF6096

Accessibility & contrast

On white

7.15
#A42158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#A42158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A42158
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42158#FFFFFF#000000##FFFFFF
##A421581.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414859
Deuteranopia (green-blind)
#646155
Tritanopia (blue-blind)
#B2003A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a42158;
/* rgb */ color: rgb(164, 33, 88);
/* oklch */ color: oklch(48.2% 0.170 1.2);
Tailwind
colors: {
  custom: {
    50: '#c56b86',
    500: '#a42158',
    950: '#000000',
  },
}
SCSS
$custom: #a42158;
$custom-light: #c56b86;
$custom-dark: #000000;
JSON
{
  "hex": "#a42158",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 334.809,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48158,
    "c": 0.17033,
    "h": 1.2
  },
  "luminance": 0.09685
}

Semantic roles & 50–950 ramp

primary
#A42158
secondary
#5DC499
accent
#E9A23E
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14070B
muted
#827A7C

Preview Lab

Preview with #A42158

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

Preview Lab → · Contrast checker → · Palette generator →

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