#A12E5D#A12E5D

#A12E5D is a mid, vivid pink. Relative luminance 0.103; OKLCH L 48.9% C 0.155 H 359.7°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#A12E5D
RGBrgb(161, 46, 93)
HSLhsl(335, 56%, 41%)
HSVhsv(335, 71%, 63%)
CMYKcmyk(0%, 71.4%, 42.2%, 36.9%)
CIE-LABlab(38.42, 50.71, -0.49)
CIE-LCHlch(38.42, 50.72, 359.45°)
OKLaboklab(48.94% 0.1555 -0.0007)
OKLCHoklch(48.94% 0.155 359.7)
XYZxyz(17.6520, 10.3236, 11.4169)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E5D #2EA172
analogous
#A12E97 #A12E5D #A1382E
triadic
#A12E5D #5DA12E #2E5DA1
tetradic
#A12E5D #97A12E #2EA172 #382EA1
square
#A12E5D #97A12E #2EA172 #382EA1
split-complementary
#A12E5D #2EA138 #2E97A1
monochromatic
#421326 #712042 #A12E5D #C9437A #D7739C

Accessibility & contrast

On white

6.85
#A12E5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#A12E5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12E5D
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12E5D#FFFFFF#000000##FFFFFF
##A12E5D1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464C5E
Deuteranopia (green-blind)
#65625A
Tritanopia (blue-blind)
#AE1F42
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a12e5d;
/* rgb */ color: rgb(161, 46, 93);
/* oklch */ color: oklch(48.9% 0.155 359.7);
Tailwind
colors: {
  custom: {
    50: '#c2708a',
    500: '#a12e5d',
    950: '#000000',
  },
}
SCSS
$custom: #a12e5d;
$custom-light: #c2708a;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e5d",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 93
  },
  "hsl": {
    "h": 335.478,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48944,
    "c": 0.15545,
    "h": 359.7
  },
  "luminance": 0.10321
}

Semantic roles & 50–950 ramp

primary
#A12E5D
secondary
#6CBE9D
accent
#DFA249
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A12E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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