#A12A5E#A12A5E

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

Color values

HEX#A12A5E
RGBrgb(161, 42, 94)
HSLhsl(334, 59%, 40%)
HSVhsv(334, 74%, 63%)
CMYKcmyk(0%, 73.9%, 41.6%, 36.9%)
CIE-LABlab(37.92, 52.29, -1.85)
CIE-LCHlch(37.92, 52.32, 357.97°)
OKLaboklab(48.59% 0.1605 -0.0042)
OKLCHoklch(48.59% 0.161 358.5)
XYZxyz(17.5475, 10.0434, 11.6020)
Luminance0.1004 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12A5E #2AA16D
analogous
#A12A99 #A12A5E #A1322A
triadic
#A12A5E #5EA12A #2A5EA1
tetradic
#A12A5E #99A12A #2AA16D #322AA1
square
#A12A5E #99A12A #2AA16D #322AA1
split-complementary
#A12A5E #2AA132 #2A99A1
monochromatic
#401125 #701D42 #A12A5E #CC3C7B #D96D9C

Accessibility & contrast

On white

6.98
#A12A5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#A12A5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12A5E
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12A5E#FFFFFF#000000##FFFFFF
##A12A5E1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434B5F
Deuteranopia (green-blind)
#63615B
Tritanopia (blue-blind)
#AE1A40
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a12a5e;
/* rgb */ color: rgb(161, 42, 94);
/* oklch */ color: oklch(48.6% 0.161 358.5);
Tailwind
colors: {
  custom: {
    50: '#c26e8b',
    500: '#a12a5e',
    950: '#000000',
  },
}
SCSS
$custom: #a12a5e;
$custom-light: #c26e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#a12a5e",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 94
  },
  "hsl": {
    "h": 333.782,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48589,
    "c": 0.16054,
    "h": 358.5
  },
  "luminance": 0.10041
}

Semantic roles & 50–950 ramp

primary
#A12A5E
secondary
#67C099
accent
#E29E46
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A12A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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