#A1208C#A1208C

#A1208C is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.8% C 0.197 H 335.9°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#A1208C
RGBrgb(161, 32, 140)
HSLhsl(310, 67%, 38%)
HSVhsv(310, 80%, 63%)
CMYKcmyk(0%, 80.1%, 13%, 36.9%)
CIE-LABlab(38.73, 61.21, -29.36)
CIE-LCHlch(38.73, 67.89, 334.37°)
OKLaboklab(49.8% 0.1797 -0.0802)
OKLCHoklch(49.8% 0.197 335.9)
XYZxyz(19.9484, 10.5054, 25.7830)
Luminance0.1050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1208C #20A135
analogous
#7520A1 #A1208C #A1204C
triadic
#A1208C #8CA120 #208CA1
tetradic
#A1208C #A17520 #20A135 #204CA1
square
#A1208C #A17520 #20A135 #204CA1
split-complementary
#A1208C #4CA120 #20A175
monochromatic
#3B0C33 #6E1660 #A1208C #D42AB8 #DF5DCA

Accessibility & contrast

On white

6.77
#A1208C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A1208C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1208C
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1208C#FFFFFF#000000##FFFFFF
##A1208C1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224F8F
Deuteranopia (green-blind)
#526289
Tritanopia (blue-blind)
#AA2B55
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a1208c;
/* rgb */ color: rgb(161, 32, 140);
/* oklch */ color: oklch(49.8% 0.197 335.9);
Tailwind
colors: {
  custom: {
    50: '#c16cae',
    500: '#a1208c',
    950: '#000000',
  },
}
SCSS
$custom: #a1208c;
$custom-light: #c16cae;
$custom-dark: #000000;
JSON
{
  "hex": "#a1208c",
  "rgb": {
    "r": 161,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 309.767,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49804,
    "c": 0.19676,
    "h": 335.9
  },
  "luminance": 0.10504
}

Semantic roles & 50–950 ramp

primary
#A1208C
secondary
#5AC36B
accent
#EA5A3E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A1208C

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

Preview Lab → · Contrast checker → · Palette generator →

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