#A82157#A82157

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

Color values

HEX#A82157
RGBrgb(168, 33, 87)
HSLhsl(336, 67%, 39%)
HSVhsv(336, 80%, 66%)
CMYKcmyk(0%, 80.4%, 48.2%, 34.1%)
CIE-LABlab(38.03, 56.44, 2.93)
CIE-LCHlch(38.03, 56.52, 2.97°)
OKLaboklab(48.84% 0.1732 0.0081)
OKLCHoklch(48.84% 0.173 2.7)
XYZxyz(18.4142, 10.1032, 9.9954)
Luminance0.1010 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A82157 #21A872
analogous
#A8219B #A82157 #A82F21
triadic
#A82157 #57A821 #2157A8
tetradic
#A82157 #9BA821 #21A872 #2F21A8
square
#A82157 #9BA821 #21A872 #2F21A8
split-complementary
#A82157 #21A82F #219BA8
monochromatic
#420D22 #75173D #A82157 #D63072 #E06395

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A82157#FFFFFF#000000##FFFFFF
##A821571.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)
#434958
Deuteranopia (green-blind)
#676354
Tritanopia (blue-blind)
#B70039
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a82157;
/* rgb */ color: rgb(168, 33, 87);
/* oklch */ color: oklch(48.8% 0.173 2.7);
Tailwind
colors: {
  custom: {
    50: '#c86b86',
    500: '#a82157',
    950: '#000000',
  },
}
SCSS
$custom: #a82157;
$custom-light: #c86b86;
$custom-dark: #000000;
JSON
{
  "hex": "#a82157",
  "rgb": {
    "r": 168,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 336,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4884,
    "c": 0.17336,
    "h": 2.7
  },
  "luminance": 0.10101
}

Semantic roles & 50–950 ramp

primary
#A82157
secondary
#5FC59D
accent
#EAA53E
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14080B
muted
#837A7C

Preview Lab

Preview with #A82157

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

Preview Lab → · Contrast checker → · Palette generator →

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