#A12B5D#A12B5D

#A12B5D is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.6% C 0.159 H 359.2°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#A12B5D
RGBrgb(161, 43, 93)
HSLhsl(335, 58%, 40%)
HSVhsv(335, 73%, 63%)
CMYKcmyk(0%, 73.3%, 42.2%, 36.9%)
CIE-LABlab(38.02, 51.83, -1.07)
CIE-LCHlch(38.02, 51.84, 358.81°)
OKLaboklab(48.65% 0.159 -0.0022)
OKLCHoklch(48.65% 0.159 359.2)
XYZxyz(17.5389, 10.0973, 11.3792)
Luminance0.1009 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12B5D #2BA16F
analogous
#A12B98 #A12B5D #A1342B
triadic
#A12B5D #5DA12B #2B5DA1
tetradic
#A12B5D #98A12B #2BA16F #342BA1
square
#A12B5D #98A12B #2BA16F #342BA1
split-complementary
#A12B5D #2BA134 #2B98A1
monochromatic
#401125 #711E41 #A12B5D #CB3E7A #D86E9B

Accessibility & contrast

On white

6.96
#A12B5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#A12B5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12B5D
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12B5D#FFFFFF#000000##FFFFFF
##A12B5D1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444B5E
Deuteranopia (green-blind)
#64625A
Tritanopia (blue-blind)
#AF1B40
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a12b5d;
/* rgb */ color: rgb(161, 43, 93);
/* oklch */ color: oklch(48.6% 0.159 359.2);
Tailwind
colors: {
  custom: {
    50: '#c26e8a',
    500: '#a12b5d',
    950: '#000000',
  },
}
SCSS
$custom: #a12b5d;
$custom-light: #c26e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a12b5d",
  "rgb": {
    "r": 161,
    "g": 43,
    "b": 93
  },
  "hsl": {
    "h": 334.576,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.48649,
    "c": 0.15902,
    "h": 359.2
  },
  "luminance": 0.10095
}

Semantic roles & 50–950 ramp

primary
#A12B5D
secondary
#69BF9B
accent
#E1A047
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A12B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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