#A01F7F#A01F7F

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

Color values

HEX#A01F7F
RGBrgb(160, 31, 127)
HSLhsl(315, 68%, 37%)
HSVhsv(315, 81%, 63%)
CMYKcmyk(0%, 80.6%, 20.6%, 37.3%)
CIE-LABlab(37.82, 59.44, -22.78)
CIE-LCHlch(37.82, 63.65, 339.03°)
OKLaboklab(48.91% 0.1783 -0.0614)
OKLCHoklch(48.91% 0.189 341)
XYZxyz(18.8186, 9.9878, 21.0113)
Luminance0.0999 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01F7F #1FA040
analogous
#811FA0 #A01F7F #A01F3E
triadic
#A01F7F #7FA01F #1F7FA0
tetradic
#A01F7F #A0811F #1FA040 #1F3EA0
square
#A01F7F #A0811F #1FA040 #1F3EA0
split-complementary
#A01F7F #3EA01F #1FA081
monochromatic
#390B2E #6D1556 #A01F7F #D329A8 #DF5ABD

Accessibility & contrast

On white

7.01
#A01F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#A01F7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A01F7F
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01F7F#FFFFFF#000000##FFFFFF
##A01F7F1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4C81
Deuteranopia (green-blind)
#56607C
Tritanopia (blue-blind)
#AA234E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a01f7f;
/* rgb */ color: rgb(160, 31, 127);
/* oklch */ color: oklch(48.9% 0.189 341.0);
Tailwind
colors: {
  custom: {
    50: '#c06ba4',
    500: '#a01f7f',
    950: '#000000',
  },
}
SCSS
$custom: #a01f7f;
$custom-light: #c06ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#a01f7f",
  "rgb": {
    "r": 160,
    "g": 31,
    "b": 127
  },
  "hsl": {
    "h": 315.349,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48906,
    "c": 0.18854,
    "h": 341
  },
  "luminance": 0.09986
}

Semantic roles & 50–950 ramp

primary
#A01F7F
secondary
#58C373
accent
#EA6A3D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A01F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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