#A01F87#A01F87

#A01F87 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.3% C 0.194 H 337.6°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#A01F87
RGBrgb(160, 31, 135)
HSLhsl(312, 68%, 37%)
HSVhsv(312, 81%, 63%)
CMYKcmyk(0%, 80.6%, 15.6%, 37.3%)
CIE-LABlab(38.21, 60.54, -27.13)
CIE-LCHlch(38.21, 66.34, 335.86°)
OKLaboklab(49.31% 0.1791 -0.0738)
OKLCHoklch(49.31% 0.194 337.6)
XYZxyz(19.3608, 10.2047, 23.8670)
Luminance0.1020 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01F87 #1FA038
analogous
#791FA0 #A01F87 #A01F46
triadic
#A01F87 #87A01F #1F87A0
tetradic
#A01F87 #A0791F #1FA038 #1F46A0
square
#A01F87 #A0791F #1FA038 #1F46A0
split-complementary
#A01F87 #46A01F #1FA079
monochromatic
#390B30 #6D155C #A01F87 #D329B2 #DF5AC5

Accessibility & contrast

On white

6.91
#A01F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A01F87
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01F87#FFFFFF#000000##FFFFFF
##A01F871.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254D8A
Deuteranopia (green-blind)
#536184
Tritanopia (blue-blind)
#A92852
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a01f87;
/* rgb */ color: rgb(160, 31, 135);
/* oklch */ color: oklch(49.3% 0.194 337.6);
Tailwind
colors: {
  custom: {
    50: '#c06baa',
    500: '#a01f87',
    950: '#000000',
  },
}
SCSS
$custom: #a01f87;
$custom-light: #c06baa;
$custom-dark: #000000;
JSON
{
  "hex": "#a01f87",
  "rgb": {
    "r": 160,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 311.628,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4931,
    "c": 0.19374,
    "h": 337.6
  },
  "luminance": 0.10203
}

Semantic roles & 50–950 ramp

primary
#A01F87
secondary
#58C36D
accent
#EA5F3D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A01F87

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

Preview Lab → · Contrast checker → · Palette generator →

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