#A12874#A12874

#A12874 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.173 H 346.9°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#A12874
RGBrgb(161, 40, 116)
HSLhsl(322, 60%, 39%)
HSVhsv(322, 75%, 63%)
CMYKcmyk(0%, 75.2%, 28%, 36.9%)
CIE-LABlab(38.48, 55.53, -14.89)
CIE-LCHlch(38.48, 57.49, 344.98°)
OKLaboklab(49.26% 0.1688 -0.0394)
OKLCHoklch(49.26% 0.173 346.9)
XYZxyz(18.6100, 10.3577, 17.5388)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12874 #28A155
analogous
#9228A1 #A12874 #A12838
triadic
#A12874 #74A128 #2874A1
tetradic
#A12874 #A19228 #28A155 #2838A1
square
#A12874 #A19228 #28A155 #2838A1
split-complementary
#A12874 #38A128 #28A192
monochromatic
#3F102D #701C51 #A12874 #CE3996 #DA6AB0

Accessibility & contrast

On white

6.84
#A12874 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#A12874 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12874
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12874#FFFFFF#000000##FFFFFF
##A128741.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394D76
Deuteranopia (green-blind)
#5D6271
Tritanopia (blue-blind)
#AC244B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a12874;
/* rgb */ color: rgb(161, 40, 116);
/* oklch */ color: oklch(49.3% 0.173 346.9);
Tailwind
colors: {
  custom: {
    50: '#c16e9c',
    500: '#a12874',
    950: '#000000',
  },
}
SCSS
$custom: #a12874;
$custom-light: #c16e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#a12874",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 116
  },
  "hsl": {
    "h": 322.314,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49259,
    "c": 0.17334,
    "h": 346.9
  },
  "luminance": 0.10356
}

Semantic roles & 50–950 ramp

primary
#A12874
secondary
#65C087
accent
#E38044
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A12874

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

Preview Lab → · Contrast checker → · Palette generator →

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