#A12E5B#A12E5B

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

Color values

HEX#A12E5B
RGBrgb(161, 46, 91)
HSLhsl(337, 56%, 41%)
HSVhsv(337, 71%, 63%)
CMYKcmyk(0%, 71.4%, 43.5%, 36.9%)
CIE-LABlab(38.36, 50.51, 0.69)
CIE-LCHlch(38.36, 50.51, 0.78°)
OKLaboklab(48.88% 0.1548 0.0024)
OKLCHoklch(48.88% 0.155 0.9)
XYZxyz(17.5646, 10.2886, 10.9565)
Luminance0.1029 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E5B #2EA174
analogous
#A12E94 #A12E5B #A13A2E
triadic
#A12E5B #5BA12E #2E5BA1
tetradic
#A12E5B #94A12E #2EA174 #3A2EA1
square
#A12E5B #94A12E #2EA174 #3A2EA1
split-complementary
#A12E5B #2EA13A #2E94A1
monochromatic
#421325 #712040 #A12E5B #C94377 #D7739A

Accessibility & contrast

On white

6.87
#A12E5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A12E5B
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12E5B#FFFFFF#000000##FFFFFF
##A12E5B1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464C5C
Deuteranopia (green-blind)
#656258
Tritanopia (blue-blind)
#AF1E41
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a12e5b;
/* rgb */ color: rgb(161, 46, 91);
/* oklch */ color: oklch(48.9% 0.155 0.9);
Tailwind
colors: {
  custom: {
    50: '#c27089',
    500: '#a12e5b',
    950: '#000000',
  },
}
SCSS
$custom: #a12e5b;
$custom-light: #c27089;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e5b",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 91
  },
  "hsl": {
    "h": 336.522,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48879,
    "c": 0.15477,
    "h": 0.9
  },
  "luminance": 0.10286
}

Semantic roles & 50–950 ramp

primary
#A12E5B
secondary
#6CBE9E
accent
#DFA449
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A12E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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