#A01F78#A01F78

#A01F78 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.6% C 0.184 H 344.1°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#A01F78
RGBrgb(160, 31, 120)
HSLhsl(319, 68%, 37%)
HSVhsv(319, 81%, 63%)
CMYKcmyk(0%, 80.6%, 25%, 37.3%)
CIE-LABlab(37.50, 58.52, -18.91)
CIE-LCHlch(37.50, 61.50, 342.09°)
OKLaboklab(48.57% 0.1772 -0.0505)
OKLCHoklch(48.57% 0.184 344.1)
XYZxyz(18.3781, 9.8116, 18.6917)
Luminance0.0981 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01F78 #1FA047
analogous
#881FA0 #A01F78 #A01F37
triadic
#A01F78 #78A01F #1F78A0
tetradic
#A01F78 #A0881F #1FA047 #1F37A0
square
#A01F78 #A0881F #1FA047 #1F37A0
split-complementary
#A01F78 #37A01F #1FA088
monochromatic
#390B2B #6D1552 #A01F78 #D3299E #DF5AB6

Accessibility & contrast

On white

7.09
#A01F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#A01F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A01F78
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01F78#FFFFFF#000000##FFFFFF
##A01F781.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304B7A
Deuteranopia (green-blind)
#586075
Tritanopia (blue-blind)
#AB1E4A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a01f78;
/* rgb */ color: rgb(160, 31, 120);
/* oklch */ color: oklch(48.6% 0.184 344.1);
Tailwind
colors: {
  custom: {
    50: '#c06b9f',
    500: '#a01f78',
    950: '#000000',
  },
}
SCSS
$custom: #a01f78;
$custom-light: #c06b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a01f78",
  "rgb": {
    "r": 160,
    "g": 31,
    "b": 120
  },
  "hsl": {
    "h": 318.605,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48573,
    "c": 0.18423,
    "h": 344.1
  },
  "luminance": 0.0981
}

Semantic roles & 50–950 ramp

primary
#A01F78
secondary
#58C379
accent
#EA733D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #A01F78

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

Preview Lab → · Contrast checker → · Palette generator →

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