#A12C5B#A12C5B

#A12C5B is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.7% C 0.157 H 0.5°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#A12C5B
RGBrgb(161, 44, 91)
HSLhsl(336, 57%, 40%)
HSVhsv(336, 73%, 63%)
CMYKcmyk(0%, 72.7%, 43.5%, 36.9%)
CIE-LABlab(38.09, 51.26, 0.30)
CIE-LCHlch(38.09, 51.26, 0.33°)
OKLaboklab(48.68% 0.1572 0.0014)
OKLCHoklch(48.68% 0.157 0.5)
XYZxyz(17.4882, 10.1360, 10.9310)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12C5B #2CA172
analogous
#A12C96 #A12C5B #A1372C
triadic
#A12C5B #5BA12C #2C5BA1
tetradic
#A12C5B #96A12C #2CA172 #372CA1
square
#A12C5B #96A12C #2CA172 #372CA1
split-complementary
#A12C5B #2CA137 #2C96A1
monochromatic
#411225 #711F40 #A12C5B #CB4077 #D87099

Accessibility & contrast

On white

6.94
#A12C5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#A12C5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12C5B
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12C5B#FFFFFF#000000##FFFFFF
##A12C5B1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454B5C
Deuteranopia (green-blind)
#646258
Tritanopia (blue-blind)
#AF1B40
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a12c5b;
/* rgb */ color: rgb(161, 44, 91);
/* oklch */ color: oklch(48.7% 0.157 0.5);
Tailwind
colors: {
  custom: {
    50: '#c26f89',
    500: '#a12c5b',
    950: '#000000',
  },
}
SCSS
$custom: #a12c5b;
$custom-light: #c26f89;
$custom-dark: #000000;
JSON
{
  "hex": "#a12c5b",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 91
  },
  "hsl": {
    "h": 335.897,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4868,
    "c": 0.15716,
    "h": 0.5
  },
  "luminance": 0.10134
}

Semantic roles & 50–950 ramp

primary
#A12C5B
secondary
#6ABF9D
accent
#E0A347
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A12C5B

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

Preview Lab → · Contrast checker → · Palette generator →

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