#A01F7E#A01F7E

#A01F7E is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.9% C 0.188 H 341.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#A01F7E
RGBrgb(160, 31, 126)
HSLhsl(316, 68%, 37%)
HSVhsv(316, 81%, 63%)
CMYKcmyk(0%, 80.6%, 21.2%, 37.3%)
CIE-LABlab(37.77, 59.30, -22.23)
CIE-LCHlch(37.77, 63.33, 339.45°)
OKLaboklab(48.86% 0.1781 -0.0599)
OKLCHoklch(48.86% 0.188 341.4)
XYZxyz(18.7537, 9.9619, 20.6698)
Luminance0.0996 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01F7E #1FA041
analogous
#821FA0 #A01F7E #A01F3E
triadic
#A01F7E #7EA01F #1F7EA0
tetradic
#A01F7E #A0821F #1FA041 #1F3EA0
square
#A01F7E #A0821F #1FA041 #1F3EA0
split-complementary
#A01F7E #3EA01F #1FA082
monochromatic
#390B2D #6D1556 #A01F7E #D329A6 #DF5ABC

Accessibility & contrast

On white

7.02
#A01F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#A01F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A01F7E
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01F7E#FFFFFF#000000##FFFFFF
##A01F7E1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4C80
Deuteranopia (green-blind)
#56607B
Tritanopia (blue-blind)
#AA224D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a01f7e;
/* rgb */ color: rgb(160, 31, 126);
/* oklch */ color: oklch(48.9% 0.188 341.4);
Tailwind
colors: {
  custom: {
    50: '#c06ba3',
    500: '#a01f7e',
    950: '#000000',
  },
}
SCSS
$custom: #a01f7e;
$custom-light: #c06ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#a01f7e",
  "rgb": {
    "r": 160,
    "g": 31,
    "b": 126
  },
  "hsl": {
    "h": 315.814,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48858,
    "c": 0.1879,
    "h": 341.4
  },
  "luminance": 0.0996
}

Semantic roles & 50–950 ramp

primary
#A01F7E
secondary
#58C374
accent
#EA6B3D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #A01F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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