#A01B8E#A01B8E

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

Color values

HEX#A01B8E
RGBrgb(160, 27, 142)
HSLhsl(308, 71%, 37%)
HSVhsv(308, 83%, 63%)
CMYKcmyk(0%, 83.1%, 11.2%, 37.3%)
CIE-LABlab(38.22, 62.55, -31.41)
CIE-LCHlch(38.22, 69.99, 333.34°)
OKLaboklab(49.44% 0.1826 -0.0861)
OKLCHoklch(49.44% 0.202 334.8)
XYZxyz(19.7719, 10.2123, 26.5158)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01B8E #1BA02D
analogous
#701BA0 #A01B8E #A01B4C
triadic
#A01B8E #8EA01B #1B8EA0
tetradic
#A01B8E #A0701B #1BA02D #1B4CA0
square
#A01B8E #A0701B #1BA02D #1B4CA0
split-complementary
#A01B8E #4CA01B #1BA070
monochromatic
#370931 #6C1260 #A01B8E #D424BC #E253CF

Accessibility & contrast

On white

6.90
#A01B8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A01B8E
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01B8E#FFFFFF#000000##FFFFFF
##A01B8E1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194E91
Deuteranopia (green-blind)
#4E618B
Tritanopia (blue-blind)
#A82955
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a01b8e;
/* rgb */ color: rgb(160, 27, 142);
/* oklch */ color: oklch(49.4% 0.202 334.8);
Tailwind
colors: {
  custom: {
    50: '#c06aaf',
    500: '#a01b8e',
    950: '#000000',
  },
}
SCSS
$custom: #a01b8e;
$custom-light: #c06aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#a01b8e",
  "rgb": {
    "r": 160,
    "g": 27,
    "b": 142
  },
  "hsl": {
    "h": 308.12,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49437,
    "c": 0.20184,
    "h": 334.8
  },
  "luminance": 0.1021
}

Semantic roles & 50–950 ramp

primary
#A01B8E
secondary
#52C561
accent
#EE523A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #A01B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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