#A12868#A12868

#A12868 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.8% C 0.167 H 352.9°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#A12868
RGBrgb(161, 40, 104)
HSLhsl(328, 60%, 39%)
HSVhsv(328, 75%, 63%)
CMYKcmyk(0%, 75.2%, 35.4%, 36.9%)
CIE-LABlab(38.01, 54.08, -8.05)
CIE-LCHlch(38.01, 54.67, 351.53°)
OKLaboklab(48.77% 0.1658 -0.0207)
OKLCHoklch(48.77% 0.167 352.9)
XYZxyz(17.9565, 10.0963, 14.0972)
Luminance0.1009 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12868 #28A161
analogous
#9E28A1 #A12868 #A1282C
triadic
#A12868 #68A128 #2868A1
tetradic
#A12868 #A19E28 #28A161 #282CA1
square
#A12868 #A19E28 #28A161 #282CA1
split-complementary
#A12868 #2CA128 #28A19E
monochromatic
#3F1029 #701C48 #A12868 #CE3987 #DA6AA5

Accessibility & contrast

On white

6.96
#A12868 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#A12868 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12868
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12868#FFFFFF#000000##FFFFFF
##A128681.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4B6A
Deuteranopia (green-blind)
#606165
Tritanopia (blue-blind)
#AE1D44
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a12868;
/* rgb */ color: rgb(161, 40, 104);
/* oklch */ color: oklch(48.8% 0.167 352.9);
Tailwind
colors: {
  custom: {
    50: '#c16e93',
    500: '#a12868',
    950: '#000000',
  },
}
SCSS
$custom: #a12868;
$custom-light: #c16e93;
$custom-dark: #000000;
JSON
{
  "hex": "#a12868",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 104
  },
  "hsl": {
    "h": 328.264,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4877,
    "c": 0.16705,
    "h": 352.9
  },
  "luminance": 0.10094
}

Semantic roles & 50–950 ramp

primary
#A12868
secondary
#65C090
accent
#E38F44
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A12868

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

Preview Lab → · Contrast checker → · Palette generator →

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