#A12662#A12662

#A12662 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.4% C 0.167 H 355.8°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#A12662
RGBrgb(161, 38, 98)
HSLhsl(331, 62%, 39%)
HSVhsv(331, 76%, 63%)
CMYKcmyk(0%, 76.4%, 39.1%, 36.9%)
CIE-LABlab(37.57, 54.08, -4.92)
CIE-LCHlch(37.57, 54.30, 354.81°)
OKLaboklab(48.37% 0.1661 -0.0123)
OKLCHoklch(48.37% 0.167 355.8)
XYZxyz(17.5969, 9.8473, 12.5270)
Luminance0.0984 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12662 #26A165
analogous
#A126A0 #A12662 #A12826
triadic
#A12662 #62A126 #2662A1
tetradic
#A12662 #A0A126 #26A165 #2826A1
square
#A12662 #A0A126 #26A165 #2826A1
split-complementary
#A12662 #26A128 #26A0A1
monochromatic
#3E0F26 #6F1A44 #A12662 #CF3580 #DB669F

Accessibility & contrast

On white

7.07
#A12662 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#A12662 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12662
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12662#FFFFFF#000000##FFFFFF
##A126621.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4A64
Deuteranopia (green-blind)
#61615F
Tritanopia (blue-blind)
#AE1641
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a12662;
/* rgb */ color: rgb(161, 38, 98);
/* oklch */ color: oklch(48.4% 0.167 355.8);
Tailwind
colors: {
  custom: {
    50: '#c26d8e',
    500: '#a12662',
    950: '#000000',
  },
}
SCSS
$custom: #a12662;
$custom-light: #c26d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#a12662",
  "rgb": {
    "r": 161,
    "g": 38,
    "b": 98
  },
  "hsl": {
    "h": 330.732,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48373,
    "c": 0.16656,
    "h": 355.8
  },
  "luminance": 0.09845
}

Semantic roles & 50–950 ramp

primary
#A12662
secondary
#62C193
accent
#E59643
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A12662

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

Preview Lab → · Contrast checker → · Palette generator →

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