#A12458#A12458

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

Color values

HEX#A12458
RGBrgb(161, 36, 88)
HSLhsl(335, 63%, 39%)
HSVhsv(335, 78%, 63%)
CMYKcmyk(0%, 77.6%, 45.3%, 36.9%)
CIE-LABlab(37.01, 53.71, 0.65)
CIE-LCHlch(37.01, 53.71, 0.69°)
OKLaboklab(47.86% 0.1649 0.0023)
OKLCHoklch(47.86% 0.165 0.8)
XYZxyz(17.0916, 9.5457, 10.1731)
Luminance0.0954 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12458 #24A16D
analogous
#A12496 #A12458 #A12E24
triadic
#A12458 #58A124 #2458A1
tetradic
#A12458 #96A124 #24A16D #2E24A1
square
#A12458 #96A124 #24A16D #2E24A1
split-complementary
#A12458 #24A12E #2496A1
monochromatic
#3D0E21 #6F193D #A12458 #D13174 #DC6396

Accessibility & contrast

On white

7.22
#A12458 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A12458
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12458#FFFFFF#000000##FFFFFF
##A124581.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12458;
/* rgb */ color: rgb(161, 36, 88);
/* oklch */ color: oklch(47.9% 0.165 0.8);
Tailwind
colors: {
  custom: {
    50: '#c26b87',
    500: '#a12458',
    950: '#000000',
  },
}
SCSS
$custom: #a12458;
$custom-light: #c26b87;
$custom-dark: #000000;
JSON
{
  "hex": "#a12458",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 88
  },
  "hsl": {
    "h": 335.04,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47861,
    "c": 0.16492,
    "h": 0.8
  },
  "luminance": 0.09543
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A12458

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

Preview Lab → · Contrast checker → · Palette generator →

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