#A01898#A01898

#A01898 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.8% C 0.211 H 331.0°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#A01898
RGBrgb(160, 24, 152)
HSLhsl(304, 74%, 36%)
HSVhsv(304, 85%, 63%)
CMYKcmyk(0%, 85%, 5%, 37.3%)
CIE-LABlab(38.54, 64.71, -37.00)
CIE-LCHlch(38.54, 74.54, 330.24°)
OKLaboklab(49.85% 0.1846 -0.1022)
OKLCHoklch(49.85% 0.211 331)
XYZxyz(20.4913, 10.3956, 30.6270)
Luminance0.1039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01898 #18A020
analogous
#6418A0 #A01898 #A01854
triadic
#A01898 #98A018 #1898A0
tetradic
#A01898 #A06418 #18A020 #1854A0
square
#A01898 #A06418 #18A020 #1854A0
split-complementary
#A01898 #54A018 #18A064
monochromatic
#360833 #6B1065 #A01898 #D520CB #E44EDC

Accessibility & contrast

On white

6.82
#A01898 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#A01898 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A01898
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01898#FFFFFF#000000##FFFFFF
##A018981.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#486195
Tritanopia (blue-blind)
#A72E5A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a01898;
/* rgb */ color: rgb(160, 24, 152);
/* oklch */ color: oklch(49.8% 0.211 331.0);
Tailwind
colors: {
  custom: {
    50: '#c06ab7',
    500: '#a01898',
    950: '#000000',
  },
}
SCSS
$custom: #a01898;
$custom-light: #c06ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#a01898",
  "rgb": {
    "r": 160,
    "g": 24,
    "b": 152
  },
  "hsl": {
    "h": 303.529,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49845,
    "c": 0.21099,
    "h": 331
  },
  "luminance": 0.10394
}

Semantic roles & 50–950 ramp

primary
#A01898
secondary
#4DC654
accent
#F14237
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #A01898

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

Preview Lab → · Contrast checker → · Palette generator →

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