#A12658#A12658

#A12658 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.0% C 0.163 H 1.1°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#A12658
RGBrgb(161, 38, 88)
HSLhsl(336, 62%, 39%)
HSVhsv(336, 76%, 63%)
CMYKcmyk(0%, 76.4%, 45.3%, 36.9%)
CIE-LABlab(37.24, 53.06, 0.98)
CIE-LCHlch(37.24, 53.07, 1.06°)
OKLaboklab(48.03% 0.1628 0.0031)
OKLCHoklch(48.03% 0.163 1.1)
XYZxyz(17.1539, 9.6701, 10.1938)
Luminance0.0967 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12658 #26A16F
analogous
#A12696 #A12658 #A13226
triadic
#A12658 #58A126 #2658A1
tetradic
#A12658 #96A126 #26A16F #3226A1
square
#A12658 #96A126 #26A16F #3226A1
split-complementary
#A12658 #26A132 #2696A1
monochromatic
#3E0F22 #6F1A3D #A12658 #CF3574 #DB6696

Accessibility & contrast

On white

7.16
#A12658 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#A12658 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12658
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12658#FFFFFF#000000##FFFFFF
##A126581.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424959
Deuteranopia (green-blind)
#636055
Tritanopia (blue-blind)
#AF0E3C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a12658;
/* rgb */ color: rgb(161, 38, 88);
/* oklch */ color: oklch(48.0% 0.163 1.1);
Tailwind
colors: {
  custom: {
    50: '#c26c87',
    500: '#a12658',
    950: '#000000',
  },
}
SCSS
$custom: #a12658;
$custom-light: #c26c87;
$custom-dark: #000000;
JSON
{
  "hex": "#a12658",
  "rgb": {
    "r": 161,
    "g": 38,
    "b": 88
  },
  "hsl": {
    "h": 335.61,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4803,
    "c": 0.16285,
    "h": 1.1
  },
  "luminance": 0.09668
}

Semantic roles & 50–950 ramp

primary
#A12658
secondary
#62C19A
accent
#E5A343
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A12658

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

Preview Lab → · Contrast checker → · Palette generator →

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