#A12D5F#A12D5F

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

Color values

HEX#A12D5F
RGBrgb(161, 45, 95)
HSLhsl(334, 56%, 40%)
HSVhsv(334, 72%, 63%)
CMYKcmyk(0%, 72%, 41%, 36.9%)
CIE-LABlab(38.34, 51.30, -1.86)
CIE-LCHlch(38.34, 51.34, 357.92°)
OKLaboklab(48.91% 0.1573 -0.0042)
OKLCHoklch(48.91% 0.157 358.5)
XYZxyz(17.7031, 10.2822, 11.8767)
Luminance0.1028 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12D5F #2DA16F
analogous
#A12D99 #A12D5F #A1352D
triadic
#A12D5F #5FA12D #2D5FA1
tetradic
#A12D5F #99A12D #2DA16F #352DA1
square
#A12D5F #99A12D #2DA16F #352DA1
split-complementary
#A12D5F #2DA135 #2D99A1
monochromatic
#411227 #712043 #A12D5F #CA417C #D7719D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A12D5F#FFFFFF#000000##FFFFFF
##A12D5F1.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)
#444C60
Deuteranopia (green-blind)
#64625C
Tritanopia (blue-blind)
#AE1F42
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a12d5f;
/* rgb */ color: rgb(161, 45, 95);
/* oklch */ color: oklch(48.9% 0.157 358.5);
Tailwind
colors: {
  custom: {
    50: '#c16f8c',
    500: '#a12d5f',
    950: '#000000',
  },
}
SCSS
$custom: #a12d5f;
$custom-light: #c16f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#a12d5f",
  "rgb": {
    "r": 161,
    "g": 45,
    "b": 95
  },
  "hsl": {
    "h": 334.138,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48911,
    "c": 0.15739,
    "h": 358.5
  },
  "luminance": 0.1028
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A12D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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