#A1268D#A1268D

#A1268D is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.192 H 335.6°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#A1268D
RGBrgb(161, 38, 141)
HSLhsl(310, 62%, 39%)
HSVhsv(310, 76%, 63%)
CMYKcmyk(0%, 76.4%, 12.4%, 36.9%)
CIE-LABlab(39.39, 59.62, -28.95)
CIE-LCHlch(39.39, 66.28, 334.10°)
OKLaboklab(50.29% 0.1746 -0.079)
OKLCHoklch(50.29% 0.192 335.6)
XYZxyz(20.1991, 10.8882, 26.2320)
Luminance0.1089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1268D #26A13A
analogous
#7826A1 #A1268D #A12650
triadic
#A1268D #8DA126 #268DA1
tetradic
#A1268D #A17826 #26A13A #2650A1
square
#A1268D #A17826 #26A13A #2650A1
split-complementary
#A1268D #50A126 #26A178
monochromatic
#3E0F36 #6F1A62 #A1268D #CF35B6 #DB66C8

Accessibility & contrast

On white

6.61
#A1268D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A1268D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1268D
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1268D#FFFFFF#000000##FFFFFF
##A1268D1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275190
Deuteranopia (green-blind)
#53638A
Tritanopia (blue-blind)
#A93057
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a1268d;
/* rgb */ color: rgb(161, 38, 141);
/* oklch */ color: oklch(50.3% 0.192 335.6);
Tailwind
colors: {
  custom: {
    50: '#c16eae',
    500: '#a1268d',
    950: '#000000',
  },
}
SCSS
$custom: #a1268d;
$custom-light: #c16eae;
$custom-dark: #000000;
JSON
{
  "hex": "#a1268d",
  "rgb": {
    "r": 161,
    "g": 38,
    "b": 141
  },
  "hsl": {
    "h": 309.756,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50293,
    "c": 0.19163,
    "h": 335.6
  },
  "luminance": 0.10886
}

Semantic roles & 50–950 ramp

primary
#A1268D
secondary
#62C171
accent
#E55D43
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A1268D

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

Preview Lab → · Contrast checker → · Palette generator →

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