#A12E5E#A12E5E

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

Color values

HEX#A12E5E
RGBrgb(161, 46, 94)
HSLhsl(335, 56%, 41%)
HSVhsv(335, 71%, 63%)
CMYKcmyk(0%, 71.4%, 41.6%, 36.9%)
CIE-LABlab(38.45, 50.82, -1.08)
CIE-LCHlch(38.45, 50.83, 358.79°)
OKLaboklab(48.98% 0.1558 -0.0022)
OKLCHoklch(48.98% 0.156 359.2)
XYZxyz(17.6966, 10.3414, 11.6517)
Luminance0.1034 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E5E #2EA171
analogous
#A12E97 #A12E5E #A1382E
triadic
#A12E5E #5EA12E #2E5EA1
tetradic
#A12E5E #97A12E #2EA171 #382EA1
square
#A12E5E #97A12E #2EA171 #382EA1
split-complementary
#A12E5E #2EA138 #2E97A1
monochromatic
#421326 #712042 #A12E5E #C9437B #D7739C

Accessibility & contrast

On white

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

On black

3.07
#A12E5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A12E5E#FFFFFF#000000##FFFFFF
##A12E5E1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454D5F
Deuteranopia (green-blind)
#65635B
Tritanopia (blue-blind)
#AE1F42
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a12e5e;
/* rgb */ color: rgb(161, 46, 94);
/* oklch */ color: oklch(49.0% 0.156 359.2);
Tailwind
colors: {
  custom: {
    50: '#c1708b',
    500: '#a12e5e',
    950: '#000000',
  },
}
SCSS
$custom: #a12e5e;
$custom-light: #c1708b;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e5e",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 94
  },
  "hsl": {
    "h": 334.957,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48978,
    "c": 0.15581,
    "h": 359.2
  },
  "luminance": 0.10339
}

Semantic roles & 50–950 ramp

primary
#A12E5E
secondary
#6CBE9C
accent
#DFA049
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A12E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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