#A01B8C#A01B8C

#A01B8C is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.3% C 0.200 H 335.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#A01B8C
RGBrgb(160, 27, 140)
HSLhsl(309, 71%, 37%)
HSVhsv(309, 83%, 63%)
CMYKcmyk(0%, 83.1%, 12.5%, 37.3%)
CIE-LABlab(38.12, 62.26, -30.35)
CIE-LCHlch(38.12, 69.26, 334.01°)
OKLaboklab(49.33% 0.1825 -0.083)
OKLCHoklch(49.33% 0.2 335.5)
XYZxyz(19.6231, 10.1528, 25.7321)
Luminance0.1015 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01B8C #1BA02F
analogous
#721BA0 #A01B8C #A01B49
triadic
#A01B8C #8CA01B #1B8CA0
tetradic
#A01B8C #A0721B #1BA02F #1B49A0
square
#A01B8C #A0721B #1BA02F #1B49A0
split-complementary
#A01B8C #49A01B #1BA072
monochromatic
#370930 #6C125E #A01B8C #D424BA #E253CD

Accessibility & contrast

On white

6.93
#A01B8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#A01B8C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A01B8C
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01B8C#FFFFFF#000000##FFFFFF
##A01B8C1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4D8F
Deuteranopia (green-blind)
#4F6189
Tritanopia (blue-blind)
#A82854
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a01b8c;
/* rgb */ color: rgb(160, 27, 140);
/* oklch */ color: oklch(49.3% 0.200 335.5);
Tailwind
colors: {
  custom: {
    50: '#c06aae',
    500: '#a01b8c',
    950: '#000000',
  },
}
SCSS
$custom: #a01b8c;
$custom-light: #c06aae;
$custom-dark: #000000;
JSON
{
  "hex": "#a01b8c",
  "rgb": {
    "r": 160,
    "g": 27,
    "b": 140
  },
  "hsl": {
    "h": 309.023,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49327,
    "c": 0.20048,
    "h": 335.5
  },
  "luminance": 0.10151
}

Semantic roles & 50–950 ramp

primary
#A01B8C
secondary
#52C563
accent
#EE553A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #A01B8C

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

Preview Lab → · Contrast checker → · Palette generator →

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