#A12457#A12457

#A12457 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.8% C 0.165 H 1.3°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#A12457
RGBrgb(161, 36, 87)
HSLhsl(336, 63%, 39%)
HSVhsv(336, 78%, 63%)
CMYKcmyk(0%, 77.6%, 46%, 36.9%)
CIE-LABlab(36.98, 53.61, 1.25)
CIE-LCHlch(36.98, 53.63, 1.33°)
OKLaboklab(47.83% 0.1646 0.0038)
OKLCHoklch(47.83% 0.165 1.3)
XYZxyz(17.0505, 9.5292, 9.9564)
Luminance0.0953 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12457 #24A16E
analogous
#A12495 #A12457 #A12F24
triadic
#A12457 #57A124 #2457A1
tetradic
#A12457 #95A124 #24A16E #2F24A1
square
#A12457 #95A124 #24A16E #2F24A1
split-complementary
#A12457 #24A12F #2495A1
monochromatic
#3D0E21 #6F193C #A12457 #D13172 #DC6395

Accessibility & contrast

On white

7.23
#A12457 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#A12457 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12457
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12457#FFFFFF#000000##FFFFFF
##A124571.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414858
Deuteranopia (green-blind)
#636054
Tritanopia (blue-blind)
#AF083A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a12457;
/* rgb */ color: rgb(161, 36, 87);
/* oklch */ color: oklch(47.8% 0.165 1.3);
Tailwind
colors: {
  custom: {
    50: '#c26b86',
    500: '#a12457',
    950: '#000000',
  },
}
SCSS
$custom: #a12457;
$custom-light: #c26b86;
$custom-dark: #000000;
JSON
{
  "hex": "#a12457",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 87
  },
  "hsl": {
    "h": 335.52,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47829,
    "c": 0.16459,
    "h": 1.3
  },
  "luminance": 0.09527
}

Semantic roles & 50–950 ramp

primary
#A12457
secondary
#5FC299
accent
#E6A341
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #A12457

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

Preview Lab → · Contrast checker → · Palette generator →

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