#A12A5D#A12A5D

#A12A5D is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.6% C 0.160 H 359.0°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#A12A5D
RGBrgb(161, 42, 93)
HSLhsl(334, 59%, 40%)
HSVhsv(334, 74%, 63%)
CMYKcmyk(0%, 73.9%, 42.2%, 36.9%)
CIE-LABlab(37.89, 52.19, -1.26)
CIE-LCHlch(37.89, 52.20, 358.61°)
OKLaboklab(48.56% 0.1601 -0.0027)
OKLCHoklch(48.56% 0.16 359)
XYZxyz(17.5030, 10.0255, 11.3672)
Luminance0.1002 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12A5D #2AA16E
analogous
#A12A99 #A12A5D #A1332A
triadic
#A12A5D #5DA12A #2A5DA1
tetradic
#A12A5D #99A12A #2AA16E #332AA1
square
#A12A5D #99A12A #2AA16E #332AA1
split-complementary
#A12A5D #2AA133 #2A99A1
monochromatic
#401125 #701D41 #A12A5D #CC3C7A #D96D9B

Accessibility & contrast

On white

6.99
#A12A5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#A12A5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12A5D
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12A5D#FFFFFF#000000##FFFFFF
##A12A5D1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434B5E
Deuteranopia (green-blind)
#63615A
Tritanopia (blue-blind)
#AF1940
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a12a5d;
/* rgb */ color: rgb(161, 42, 93);
/* oklch */ color: oklch(48.6% 0.160 359.0);
Tailwind
colors: {
  custom: {
    50: '#c26e8a',
    500: '#a12a5d',
    950: '#000000',
  },
}
SCSS
$custom: #a12a5d;
$custom-light: #c26e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a12a5d",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 93
  },
  "hsl": {
    "h": 334.286,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48555,
    "c": 0.16017,
    "h": 359
  },
  "luminance": 0.10023
}

Semantic roles & 50–950 ramp

primary
#A12A5D
secondary
#67C09A
accent
#E29F46
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A12A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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