#A01F5A#A01F5A

#A01F5A is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.170 H 358.8°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#A01F5A
RGBrgb(160, 31, 90)
HSLhsl(333, 68%, 37%)
HSVhsv(333, 81%, 63%)
CMYKcmyk(0%, 80.6%, 43.7%, 37.3%)
CIE-LABlab(36.36, 55.12, -1.62)
CIE-LCHlch(36.36, 55.15, 358.32°)
OKLaboklab(47.36% 0.1696 -0.0036)
OKLCHoklch(47.36% 0.17 358.8)
XYZxyz(16.8340, 9.1940, 10.5590)
Luminance0.0919 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01F5A #1FA065
analogous
#A01F9B #A01F5A #A0241F
triadic
#A01F5A #5AA01F #1F5AA0
tetradic
#A01F5A #9BA01F #1FA065 #241FA0
square
#A01F5A #9BA01F #1FA065 #241FA0
split-complementary
#A01F5A #1FA024 #1F9BA0
monochromatic
#390B20 #6D153D #A01F5A #D32977 #DF5A97

Accessibility & contrast

On white

7.40
#A01F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#A01F5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A01F5A
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01F5A#FFFFFF#000000##FFFFFF
##A01F5A1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D465B
Deuteranopia (green-blind)
#605E57
Tritanopia (blue-blind)
#AE013A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a01f5a;
/* rgb */ color: rgb(160, 31, 90);
/* oklch */ color: oklch(47.4% 0.170 358.8);
Tailwind
colors: {
  custom: {
    50: '#c16988',
    500: '#a01f5a',
    950: '#000000',
  },
}
SCSS
$custom: #a01f5a;
$custom-light: #c16988;
$custom-dark: #000000;
JSON
{
  "hex": "#a01f5a",
  "rgb": {
    "r": 160,
    "g": 31,
    "b": 90
  },
  "hsl": {
    "h": 332.558,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47364,
    "c": 0.16959,
    "h": 358.8
  },
  "luminance": 0.09192
}

Semantic roles & 50–950 ramp

primary
#A01F5A
secondary
#58C392
accent
#EA9B3D
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #A01F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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