#A82158#A82158

#A82158 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.9% C 0.174 H 2.2°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#A82158
RGBrgb(168, 33, 88)
HSLhsl(336, 67%, 39%)
HSVhsv(336, 80%, 66%)
CMYKcmyk(0%, 80.4%, 47.6%, 34.1%)
CIE-LABlab(38.06, 56.53, 2.33)
CIE-LCHlch(38.06, 56.58, 2.36°)
OKLaboklab(48.87% 0.1735 0.0066)
OKLCHoklch(48.87% 0.174 2.2)
XYZxyz(18.4553, 10.1197, 10.2121)
Luminance0.1012 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A82158 #21A871
analogous
#A8219B #A82158 #A82E21
triadic
#A82158 #58A821 #2158A8
tetradic
#A82158 #9BA821 #21A871 #2E21A8
square
#A82158 #9BA821 #21A871 #2E21A8
split-complementary
#A82158 #21A82E #219BA8
monochromatic
#420D22 #75173D #A82158 #D63074 #E06396

Accessibility & contrast

On white

6.95
#A82158 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#A82158 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A82158
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A82158#FFFFFF#000000##FFFFFF
##A821581.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434959
Deuteranopia (green-blind)
#676355
Tritanopia (blue-blind)
#B7003A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a82158;
/* rgb */ color: rgb(168, 33, 88);
/* oklch */ color: oklch(48.9% 0.174 2.2);
Tailwind
colors: {
  custom: {
    50: '#c86b86',
    500: '#a82158',
    950: '#000000',
  },
}
SCSS
$custom: #a82158;
$custom-light: #c86b86;
$custom-dark: #000000;
JSON
{
  "hex": "#a82158",
  "rgb": {
    "r": 168,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 335.556,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48872,
    "c": 0.17365,
    "h": 2.2
  },
  "luminance": 0.10117
}

Semantic roles & 50–950 ramp

primary
#A82158
secondary
#5FC59C
accent
#EAA43E
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14080B
muted
#837A7C

Preview Lab

Preview with #A82158

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

Preview Lab → · Contrast checker → · Palette generator →

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