#A12558#A12558

#A12558 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.9% C 0.164 H 0.9°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#A12558
RGBrgb(161, 37, 88)
HSLhsl(335, 63%, 39%)
HSVhsv(335, 77%, 63%)
CMYKcmyk(0%, 77%, 45.3%, 36.9%)
CIE-LABlab(37.13, 53.39, 0.82)
CIE-LCHlch(37.13, 53.39, 0.88°)
OKLaboklab(47.95% 0.1639 0.0027)
OKLCHoklch(47.95% 0.164 0.9)
XYZxyz(17.1223, 9.6070, 10.1833)
Luminance0.0960 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12558 #25A16E
analogous
#A12596 #A12558 #A13025
triadic
#A12558 #58A125 #2558A1
tetradic
#A12558 #96A125 #25A16E #3025A1
square
#A12558 #96A125 #25A16E #3025A1
split-complementary
#A12558 #25A130 #2596A1
monochromatic
#3D0E22 #6F1A3D #A12558 #D03374 #DC6596

Accessibility & contrast

On white

7.19
#A12558 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#A12558 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12558
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12558#FFFFFF#000000##FFFFFF
##A125581.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424859
Deuteranopia (green-blind)
#636055
Tritanopia (blue-blind)
#AF0C3B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a12558;
/* rgb */ color: rgb(161, 37, 88);
/* oklch */ color: oklch(47.9% 0.164 0.9);
Tailwind
colors: {
  custom: {
    50: '#c26c87',
    500: '#a12558',
    950: '#000000',
  },
}
SCSS
$custom: #a12558;
$custom-light: #c26c87;
$custom-dark: #000000;
JSON
{
  "hex": "#a12558",
  "rgb": {
    "r": 161,
    "g": 37,
    "b": 88
  },
  "hsl": {
    "h": 335.323,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47945,
    "c": 0.16389,
    "h": 0.9
  },
  "luminance": 0.09605
}

Semantic roles & 50–950 ramp

primary
#A12558
secondary
#61C199
accent
#E6A242
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #A12558

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

Preview Lab → · Contrast checker → · Palette generator →

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