#A72158#A72158

#A72158 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.7% C 0.173 H 1.9°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#A72158
RGBrgb(167, 33, 88)
HSLhsl(335, 67%, 39%)
HSVhsv(335, 80%, 65%)
CMYKcmyk(0%, 80.2%, 47.3%, 34.5%)
CIE-LABlab(37.86, 56.26, 2.02)
CIE-LCHlch(37.86, 56.30, 2.06°)
OKLaboklab(48.69% 0.1727 0.0058)
OKLCHoklch(48.69% 0.173 1.9)
XYZxyz(18.2432, 10.0103, 10.2022)
Luminance0.1001 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72158 #21A770
analogous
#A7219B #A72158 #A72D21
triadic
#A72158 #58A721 #2158A7
tetradic
#A72158 #9BA721 #21A770 #2D21A7
square
#A72158 #9BA721 #21A770 #2D21A7
split-complementary
#A72158 #21A72D #219BA7
monochromatic
#410D22 #74173D #A72158 #D62F74 #E06296

Accessibility & contrast

On white

7.00
#A72158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#A72158 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72158
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72158#FFFFFF#000000##FFFFFF
##A721581.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424959
Deuteranopia (green-blind)
#666255
Tritanopia (blue-blind)
#B6003A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a72158;
/* rgb */ color: rgb(167, 33, 88);
/* oklch */ color: oklch(48.7% 0.173 1.9);
Tailwind
colors: {
  custom: {
    50: '#c76b86',
    500: '#a72158',
    950: '#000000',
  },
}
SCSS
$custom: #a72158;
$custom-light: #c76b86;
$custom-dark: #000000;
JSON
{
  "hex": "#a72158",
  "rgb": {
    "r": 167,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 335.373,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48693,
    "c": 0.17282,
    "h": 1.9
  },
  "luminance": 0.10008
}

Semantic roles & 50–950 ramp

primary
#A72158
secondary
#5FC59B
accent
#EAA33E
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14080B
muted
#827A7C

Preview Lab

Preview with #A72158

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

Preview Lab → · Contrast checker → · Palette generator →

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