#A01B8D#A01B8D

#A01B8D is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.4% C 0.201 H 335.1°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#A01B8D
RGBrgb(160, 27, 141)
HSLhsl(309, 71%, 37%)
HSVhsv(309, 83%, 63%)
CMYKcmyk(0%, 83.1%, 11.9%, 37.3%)
CIE-LABlab(38.17, 62.40, -30.88)
CIE-LCHlch(38.17, 69.63, 333.67°)
OKLaboklab(49.38% 0.1825 -0.0845)
OKLCHoklch(49.38% 0.201 335.1)
XYZxyz(19.6971, 10.1824, 26.1222)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01B8D #1BA02E
analogous
#711BA0 #A01B8D #A01B4B
triadic
#A01B8D #8DA01B #1B8DA0
tetradic
#A01B8D #A0711B #1BA02E #1B4BA0
square
#A01B8D #A0711B #1BA02E #1B4BA0
split-complementary
#A01B8D #4BA01B #1BA071
monochromatic
#370931 #6C125F #A01B8D #D424BB #E253CE

Accessibility & contrast

On white

6.92
#A01B8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#A01B8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A01B8D
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01B8D#FFFFFF#000000##FFFFFF
##A01B8D1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4E90
Deuteranopia (green-blind)
#4F618A
Tritanopia (blue-blind)
#A82955
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a01b8d;
/* rgb */ color: rgb(160, 27, 141);
/* oklch */ color: oklch(49.4% 0.201 335.1);
Tailwind
colors: {
  custom: {
    50: '#c06aaf',
    500: '#a01b8d',
    950: '#000000',
  },
}
SCSS
$custom: #a01b8d;
$custom-light: #c06aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#a01b8d",
  "rgb": {
    "r": 160,
    "g": 27,
    "b": 141
  },
  "hsl": {
    "h": 308.571,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49382,
    "c": 0.20116,
    "h": 335.1
  },
  "luminance": 0.10181
}

Semantic roles & 50–950 ramp

primary
#A01B8D
secondary
#52C562
accent
#EE543A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #A01B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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