#A01F7C#A01F7C

#A01F7C is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.8% C 0.187 H 342.3°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#A01F7C
RGBrgb(160, 31, 124)
HSLhsl(317, 68%, 37%)
HSVhsv(317, 81%, 63%)
CMYKcmyk(0%, 80.6%, 22.5%, 37.3%)
CIE-LABlab(37.68, 59.04, -21.13)
CIE-LCHlch(37.68, 62.70, 340.31°)
OKLaboklab(48.76% 0.1778 -0.0568)
OKLCHoklch(48.76% 0.187 342.3)
XYZxyz(18.6260, 9.9108, 19.9969)
Luminance0.0991 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01F7C #1FA043
analogous
#831FA0 #A01F7C #A01F3C
triadic
#A01F7C #7CA01F #1F7CA0
tetradic
#A01F7C #A0831F #1FA043 #1F3CA0
square
#A01F7C #A0831F #1FA043 #1F3CA0
split-complementary
#A01F7C #3CA01F #1FA083
monochromatic
#390B2D #6D1554 #A01F7C #D329A4 #DF5ABA

Accessibility & contrast

On white

7.04
#A01F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#A01F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A01F7C
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01F7C#FFFFFF#000000##FFFFFF
##A01F7C1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4B7E
Deuteranopia (green-blind)
#576079
Tritanopia (blue-blind)
#AA214C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a01f7c;
/* rgb */ color: rgb(160, 31, 124);
/* oklch */ color: oklch(48.8% 0.187 342.3);
Tailwind
colors: {
  custom: {
    50: '#c06ba2',
    500: '#a01f7c',
    950: '#000000',
  },
}
SCSS
$custom: #a01f7c;
$custom-light: #c06ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#a01f7c",
  "rgb": {
    "r": 160,
    "g": 31,
    "b": 124
  },
  "hsl": {
    "h": 316.744,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48761,
    "c": 0.18666,
    "h": 342.3
  },
  "luminance": 0.09909
}

Semantic roles & 50–950 ramp

primary
#A01F7C
secondary
#58C376
accent
#EA6E3D
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F

Preview Lab

Preview with #A01F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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