#A12875#A12875

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

Color values

HEX#A12875
RGBrgb(161, 40, 117)
HSLhsl(322, 60%, 39%)
HSVhsv(322, 75%, 63%)
CMYKcmyk(0%, 75.2%, 27.3%, 36.9%)
CIE-LABlab(38.52, 55.65, -15.46)
CIE-LCHlch(38.52, 57.76, 344.48°)
OKLaboklab(49.3% 0.169 -0.0409)
OKLCHoklch(49.3% 0.174 346.4)
XYZxyz(18.6685, 10.3811, 17.8468)
Luminance0.1038 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12875 #28A154
analogous
#9128A1 #A12875 #A12839
triadic
#A12875 #75A128 #2875A1
tetradic
#A12875 #A19128 #28A154 #2839A1
square
#A12875 #A19128 #28A154 #2839A1
split-complementary
#A12875 #39A128 #28A191
monochromatic
#3F102E #701C51 #A12875 #CE3997 #DA6AB1

Accessibility & contrast

On white

6.83
#A12875 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#A12875 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12875
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12875#FFFFFF#000000##FFFFFF
##A128751.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384D77
Deuteranopia (green-blind)
#5D6272
Tritanopia (blue-blind)
#AC244B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a12875;
/* rgb */ color: rgb(161, 40, 117);
/* oklch */ color: oklch(49.3% 0.174 346.4);
Tailwind
colors: {
  custom: {
    50: '#c16e9d',
    500: '#a12875',
    950: '#000000',
  },
}
SCSS
$custom: #a12875;
$custom-light: #c16e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#a12875",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 117
  },
  "hsl": {
    "h": 321.818,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49302,
    "c": 0.17391,
    "h": 346.4
  },
  "luminance": 0.10379
}

Semantic roles & 50–950 ramp

primary
#A12875
secondary
#65C086
accent
#E37E44
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A12875

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

Preview Lab → · Contrast checker → · Palette generator →

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