#A12D5E#A12D5E

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

Color values

HEX#A12D5E
RGBrgb(161, 45, 94)
HSLhsl(335, 56%, 40%)
HSVhsv(335, 72%, 63%)
CMYKcmyk(0%, 72%, 41.6%, 36.9%)
CIE-LABlab(38.31, 51.20, -1.28)
CIE-LCHlch(38.31, 51.21, 358.57°)
OKLaboklab(48.88% 0.157 -0.0027)
OKLCHoklch(48.88% 0.157 359)
XYZxyz(17.6580, 10.2642, 11.6388)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12D5E #2DA170
analogous
#A12D98 #A12D5E #A1362D
triadic
#A12D5E #5EA12D #2D5EA1
tetradic
#A12D5E #98A12D #2DA170 #362DA1
square
#A12D5E #98A12D #2DA170 #362DA1
split-complementary
#A12D5E #2DA136 #2D98A1
monochromatic
#411226 #712042 #A12D5E #CA417B #D7719C

Accessibility & contrast

On white

6.88
#A12D5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#A12D5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12D5E
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12D5E#FFFFFF#000000##FFFFFF
##A12D5E1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454C5F
Deuteranopia (green-blind)
#64625B
Tritanopia (blue-blind)
#AE1E42
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a12d5e;
/* rgb */ color: rgb(161, 45, 94);
/* oklch */ color: oklch(48.9% 0.157 359.0);
Tailwind
colors: {
  custom: {
    50: '#c26f8b',
    500: '#a12d5e',
    950: '#000000',
  },
}
SCSS
$custom: #a12d5e;
$custom-light: #c26f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#a12d5e",
  "rgb": {
    "r": 161,
    "g": 45,
    "b": 94
  },
  "hsl": {
    "h": 334.655,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48878,
    "c": 0.15701,
    "h": 359
  },
  "luminance": 0.10262
}

Semantic roles & 50–950 ramp

primary
#A12D5E
secondary
#6BBF9B
accent
#E0A048
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A12D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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