#A12858#A12858

#A12858 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.2% C 0.161 H 1.4°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#A12858
RGBrgb(161, 40, 88)
HSLhsl(336, 60%, 39%)
HSVhsv(336, 75%, 63%)
CMYKcmyk(0%, 75.2%, 45.3%, 36.9%)
CIE-LABlab(37.48, 52.39, 1.33)
CIE-LCHlch(37.48, 52.40, 1.46°)
OKLaboklab(48.21% 0.1607 0.004)
OKLCHoklch(48.21% 0.161 1.4)
XYZxyz(17.2195, 9.8015, 10.2157)
Luminance0.0980 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12858 #28A171
analogous
#A12895 #A12858 #A13428
triadic
#A12858 #58A128 #2858A1
tetradic
#A12858 #95A128 #28A171 #3428A1
square
#A12858 #95A128 #28A171 #3428A1
split-complementary
#A12858 #28A134 #2895A1
monochromatic
#3F1022 #701C3D #A12858 #CE3974 #DA6A96

Accessibility & contrast

On white

7.10
#A12858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#A12858 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12858
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12858#FFFFFF#000000##FFFFFF
##A128581.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434959
Deuteranopia (green-blind)
#646155
Tritanopia (blue-blind)
#AF123D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a12858;
/* rgb */ color: rgb(161, 40, 88);
/* oklch */ color: oklch(48.2% 0.161 1.4);
Tailwind
colors: {
  custom: {
    50: '#c26d87',
    500: '#a12858',
    950: '#000000',
  },
}
SCSS
$custom: #a12858;
$custom-light: #c26d87;
$custom-dark: #000000;
JSON
{
  "hex": "#a12858",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 88
  },
  "hsl": {
    "h": 336.198,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48207,
    "c": 0.16071,
    "h": 1.4
  },
  "luminance": 0.09799
}

Semantic roles & 50–950 ramp

primary
#A12858
secondary
#65C09C
accent
#E3A444
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A12858

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

Preview Lab → · Contrast checker → · Palette generator →

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