#A12156#A12156

#A12156 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.167 H 1.4°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#A12156
RGBrgb(161, 33, 86)
HSLhsl(335, 66%, 38%)
HSVhsv(335, 80%, 63%)
CMYKcmyk(0%, 79.5%, 46.6%, 36.9%)
CIE-LABlab(36.63, 54.44, 1.37)
CIE-LCHlch(36.63, 54.45, 1.45°)
OKLaboklab(47.56% 0.1672 0.0041)
OKLCHoklch(47.56% 0.167 1.4)
XYZxyz(16.9229, 9.3390, 9.7138)
Luminance0.0934 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12156 #21A16C
analogous
#A12196 #A12156 #A12C21
triadic
#A12156 #56A121 #2156A1
tetradic
#A12156 #96A121 #21A16C #2C21A1
square
#A12156 #96A121 #21A16C #2C21A1
split-complementary
#A12156 #21A12C #2196A1
monochromatic
#3B0C20 #6E173B #A12156 #D42C71 #DE5E93

Accessibility & contrast

On white

7.32
#A12156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#A12156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12156
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12156#FFFFFF#000000##FFFFFF
##A121561.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404657
Deuteranopia (green-blind)
#625F53
Tritanopia (blue-blind)
#AF0039
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a12156;
/* rgb */ color: rgb(161, 33, 86);
/* oklch */ color: oklch(47.6% 0.167 1.4);
Tailwind
colors: {
  custom: {
    50: '#c26a85',
    500: '#a12156',
    950: '#000000',
  },
}
SCSS
$custom: #a12156;
$custom-light: #c26a85;
$custom-dark: #000000;
JSON
{
  "hex": "#a12156",
  "rgb": {
    "r": 161,
    "g": 33,
    "b": 86
  },
  "hsl": {
    "h": 335.156,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47559,
    "c": 0.1672,
    "h": 1.4
  },
  "luminance": 0.09337
}

Semantic roles & 50–950 ramp

primary
#A12156
secondary
#5BC398
accent
#E9A33F
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #A12156

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

Preview Lab → · Contrast checker → · Palette generator →

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