#A01F7A#A01F7A

#A01F7A is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.7% C 0.185 H 343.2°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#A01F7A
RGBrgb(160, 31, 122)
HSLhsl(318, 68%, 37%)
HSVhsv(318, 81%, 63%)
CMYKcmyk(0%, 80.6%, 23.7%, 37.3%)
CIE-LABlab(37.59, 58.77, -20.02)
CIE-LCHlch(37.59, 62.09, 341.19°)
OKLaboklab(48.67% 0.1775 -0.0536)
OKLCHoklch(48.67% 0.185 343.2)
XYZxyz(18.5008, 9.8607, 19.3376)
Luminance0.0986 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01F7A #1FA045
analogous
#851FA0 #A01F7A #A01F3A
triadic
#A01F7A #7AA01F #1F7AA0
tetradic
#A01F7A #A0851F #1FA045 #1F3AA0
square
#A01F7A #A0851F #1FA045 #1F3AA0
split-complementary
#A01F7A #3AA01F #1FA085
monochromatic
#390B2C #6D1553 #A01F7A #D329A1 #DF5AB8

Accessibility & contrast

On white

7.07
#A01F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#A01F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A01F7A
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01F7A#FFFFFF#000000##FFFFFF
##A01F7A1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4B7C
Deuteranopia (green-blind)
#586077
Tritanopia (blue-blind)
#AB1F4B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a01f7a;
/* rgb */ color: rgb(160, 31, 122);
/* oklch */ color: oklch(48.7% 0.185 343.2);
Tailwind
colors: {
  custom: {
    50: '#c06ba0',
    500: '#a01f7a',
    950: '#000000',
  },
}
SCSS
$custom: #a01f7a;
$custom-light: #c06ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#a01f7a",
  "rgb": {
    "r": 160,
    "g": 31,
    "b": 122
  },
  "hsl": {
    "h": 317.674,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48666,
    "c": 0.18544,
    "h": 343.2
  },
  "luminance": 0.09859
}

Semantic roles & 50–950 ramp

primary
#A01F7A
secondary
#58C377
accent
#EA703D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #A01F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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