#A01F8A#A01F8A

#A01F8A is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.5% C 0.196 H 336.4°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#A01F8A
RGBrgb(160, 31, 138)
HSLhsl(310, 68%, 37%)
HSVhsv(310, 81%, 63%)
CMYKcmyk(0%, 80.6%, 13.8%, 37.3%)
CIE-LABlab(38.36, 60.97, -28.74)
CIE-LCHlch(38.36, 67.40, 334.76°)
OKLaboklab(49.47% 0.1794 -0.0784)
OKLCHoklch(49.47% 0.196 336.4)
XYZxyz(19.5750, 10.2904, 24.9951)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01F8A #1FA035
analogous
#761FA0 #A01F8A #A01F49
triadic
#A01F8A #8AA01F #1F8AA0
tetradic
#A01F8A #A0761F #1FA035 #1F49A0
square
#A01F8A #A0761F #1FA035 #1F49A0
split-complementary
#A01F8A #49A01F #1FA076
monochromatic
#390B32 #6D155E #A01F8A #D329B6 #DF5AC8

Accessibility & contrast

On white

6.87
#A01F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#A01F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A01F8A
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01F8A#FFFFFF#000000##FFFFFF
##A01F8A1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224E8D
Deuteranopia (green-blind)
#516187
Tritanopia (blue-blind)
#A92A54
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a01f8a;
/* rgb */ color: rgb(160, 31, 138);
/* oklch */ color: oklch(49.5% 0.196 336.4);
Tailwind
colors: {
  custom: {
    50: '#c06bac',
    500: '#a01f8a',
    950: '#000000',
  },
}
SCSS
$custom: #a01f8a;
$custom-light: #c06bac;
$custom-dark: #000000;
JSON
{
  "hex": "#a01f8a",
  "rgb": {
    "r": 160,
    "g": 31,
    "b": 138
  },
  "hsl": {
    "h": 310.233,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49468,
    "c": 0.19576,
    "h": 336.4
  },
  "luminance": 0.10289
}

Semantic roles & 50–950 ramp

primary
#A01F8A
secondary
#58C36A
accent
#EA5B3D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A01F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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