#A12A58#A12A58

#A12A58 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.4% C 0.158 H 1.8°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#A12A58
RGBrgb(161, 42, 88)
HSLhsl(337, 59%, 40%)
HSVhsv(337, 74%, 63%)
CMYKcmyk(0%, 73.9%, 45.3%, 36.9%)
CIE-LABlab(37.73, 51.69, 1.70)
CIE-LCHlch(37.73, 51.71, 1.88°)
OKLaboklab(48.39% 0.1584 0.005)
OKLCHoklch(48.39% 0.158 1.8)
XYZxyz(17.2887, 9.9398, 10.2388)
Luminance0.0994 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12A58 #2AA173
analogous
#A12A93 #A12A58 #A1382A
triadic
#A12A58 #58A12A #2A58A1
tetradic
#A12A58 #93A12A #2AA173 #382AA1
square
#A12A58 #93A12A #2AA173 #382AA1
split-complementary
#A12A58 #2AA138 #2A93A1
monochromatic
#401123 #701D3D #A12A58 #CC3C74 #D96D96

Accessibility & contrast

On white

7.03
#A12A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#A12A58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12A58
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12A58#FFFFFF#000000##FFFFFF
##A12A581.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444A59
Deuteranopia (green-blind)
#646155
Tritanopia (blue-blind)
#AF163D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a12a58;
/* rgb */ color: rgb(161, 42, 88);
/* oklch */ color: oklch(48.4% 0.158 1.8);
Tailwind
colors: {
  custom: {
    50: '#c26e87',
    500: '#a12a58',
    950: '#000000',
  },
}
SCSS
$custom: #a12a58;
$custom-light: #c26e87;
$custom-dark: #000000;
JSON
{
  "hex": "#a12a58",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 88
  },
  "hsl": {
    "h": 336.807,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48391,
    "c": 0.15849,
    "h": 1.8
  },
  "luminance": 0.09938
}

Semantic roles & 50–950 ramp

primary
#A12A58
secondary
#67C09D
accent
#E2A646
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A12A58

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

Preview Lab → · Contrast checker → · Palette generator →

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