#A12154#A12154

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

Color values

HEX#A12154
RGBrgb(161, 33, 84)
HSLhsl(336, 66%, 38%)
HSVhsv(336, 80%, 63%)
CMYKcmyk(0%, 79.5%, 47.8%, 36.9%)
CIE-LABlab(36.57, 54.25, 2.57)
CIE-LCHlch(36.57, 54.32, 2.71°)
OKLaboklab(47.5% 0.1664 0.0072)
OKLCHoklch(47.5% 0.167 2.5)
XYZxyz(16.8435, 9.3072, 9.2953)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12154 #21A16E
analogous
#A12194 #A12154 #A12E21
triadic
#A12154 #54A121 #2154A1
tetradic
#A12154 #94A121 #21A16E #2E21A1
square
#A12154 #94A121 #21A16E #2E21A1
split-complementary
#A12154 #21A12E #2194A1
monochromatic
#3B0C1F #6E173A #A12154 #D42C6F #DE5E91

Accessibility & contrast

On white

7.34
#A12154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#A12154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12154
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12154#FFFFFF#000000##FFFFFF
##A121541.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414655
Deuteranopia (green-blind)
#635F51
Tritanopia (blue-blind)
#AF0038
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a12154;
/* rgb */ color: rgb(161, 33, 84);
/* oklch */ color: oklch(47.5% 0.167 2.5);
Tailwind
colors: {
  custom: {
    50: '#c26a83',
    500: '#a12154',
    950: '#000000',
  },
}
SCSS
$custom: #a12154;
$custom-light: #c26a83;
$custom-dark: #000000;
JSON
{
  "hex": "#a12154",
  "rgb": {
    "r": 161,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 336.094,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47495,
    "c": 0.16659,
    "h": 2.5
  },
  "luminance": 0.09305
}

Semantic roles & 50–950 ramp

primary
#A12154
secondary
#5BC399
accent
#E9A53F
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #A12154

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

Preview Lab → · Contrast checker → · Palette generator →

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