#A12862#A12862

#A12862 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.5% C 0.164 H 356.0°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#A12862
RGBrgb(161, 40, 98)
HSLhsl(331, 60%, 39%)
HSVhsv(331, 75%, 63%)
CMYKcmyk(0%, 75.2%, 39.1%, 36.9%)
CIE-LABlab(37.80, 53.41, -4.56)
CIE-LCHlch(37.80, 53.61, 355.12°)
OKLaboklab(48.55% 0.164 -0.0113)
OKLCHoklch(48.55% 0.164 356)
XYZxyz(17.6625, 9.9787, 12.5489)
Luminance0.0998 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12862 #28A167
analogous
#A1289F #A12862 #A12B28
triadic
#A12862 #62A128 #2862A1
tetradic
#A12862 #9FA128 #28A167 #2B28A1
square
#A12862 #9FA128 #28A167 #2B28A1
split-complementary
#A12862 #28A12B #289FA1
monochromatic
#3F1026 #701C44 #A12862 #CE3980 #DA6A9F

Accessibility & contrast

On white

7.01
#A12862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#A12862 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12862
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12862#FFFFFF#000000##FFFFFF
##A128621.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404B63
Deuteranopia (green-blind)
#62615F
Tritanopia (blue-blind)
#AE1941
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a12862;
/* rgb */ color: rgb(161, 40, 98);
/* oklch */ color: oklch(48.5% 0.164 356.0);
Tailwind
colors: {
  custom: {
    50: '#c26d8e',
    500: '#a12862',
    950: '#000000',
  },
}
SCSS
$custom: #a12862;
$custom-light: #c26d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#a12862",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 98
  },
  "hsl": {
    "h": 331.24,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48547,
    "c": 0.16438,
    "h": 356
  },
  "luminance": 0.09976
}

Semantic roles & 50–950 ramp

primary
#A12862
secondary
#65C094
accent
#E39744
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A12862

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

Preview Lab → · Contrast checker → · Palette generator →

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