#A12D5B#A12D5B

#A12D5B is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.8% C 0.156 H 0.7°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#A12D5B
RGBrgb(161, 45, 91)
HSLhsl(336, 56%, 40%)
HSVhsv(336, 72%, 63%)
CMYKcmyk(0%, 72%, 43.5%, 36.9%)
CIE-LABlab(38.22, 50.88, 0.49)
CIE-LCHlch(38.22, 50.89, 0.55°)
OKLaboklab(48.78% 0.156 0.0019)
OKLCHoklch(48.78% 0.156 0.7)
XYZxyz(17.5259, 10.2114, 10.9436)
Luminance0.1021 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12D5B #2DA173
analogous
#A12D95 #A12D5B #A1392D
triadic
#A12D5B #5BA12D #2D5BA1
tetradic
#A12D5B #95A12D #2DA173 #392DA1
square
#A12D5B #95A12D #2DA173 #392DA1
split-complementary
#A12D5B #2DA139 #2D95A1
monochromatic
#411225 #712040 #A12D5B #CA4177 #D7719A

Accessibility & contrast

On white

6.90
#A12D5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#A12D5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12D5B
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12D5B#FFFFFF#000000##FFFFFF
##A12D5B1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12d5b;
/* rgb */ color: rgb(161, 45, 91);
/* oklch */ color: oklch(48.8% 0.156 0.7);
Tailwind
colors: {
  custom: {
    50: '#c26f89',
    500: '#a12d5b',
    950: '#000000',
  },
}
SCSS
$custom: #a12d5b;
$custom-light: #c26f89;
$custom-dark: #000000;
JSON
{
  "hex": "#a12d5b",
  "rgb": {
    "r": 161,
    "g": 45,
    "b": 91
  },
  "hsl": {
    "h": 336.207,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48778,
    "c": 0.15597,
    "h": 0.7
  },
  "luminance": 0.10209
}

Semantic roles & 50–950 ramp

primary
#A12D5B
secondary
#6BBF9E
accent
#E0A448
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A12D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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