#A01F7B#A01F7B

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

Color values

HEX#A01F7B
RGBrgb(160, 31, 123)
HSLhsl(317, 68%, 37%)
HSVhsv(317, 81%, 63%)
CMYKcmyk(0%, 80.6%, 23.1%, 37.3%)
CIE-LABlab(37.64, 58.90, -20.58)
CIE-LCHlch(37.64, 62.39, 340.75°)
OKLaboklab(48.71% 0.1777 -0.0552)
OKLCHoklch(48.71% 0.186 342.7)
XYZxyz(18.5631, 9.8856, 19.6656)
Luminance0.0988 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01F7B #1FA044
analogous
#841FA0 #A01F7B #A01F3B
triadic
#A01F7B #7BA01F #1F7BA0
tetradic
#A01F7B #A0841F #1FA044 #1F3BA0
square
#A01F7B #A0841F #1FA044 #1F3BA0
split-complementary
#A01F7B #3BA01F #1FA084
monochromatic
#390B2C #6D1554 #A01F7B #D329A2 #DF5AB9

Accessibility & contrast

On white

7.05
#A01F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A01F7B
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01F7B#FFFFFF#000000##FFFFFF
##A01F7B1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4B7D
Deuteranopia (green-blind)
#576078
Tritanopia (blue-blind)
#AB204C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a01f7b;
/* rgb */ color: rgb(160, 31, 123);
/* oklch */ color: oklch(48.7% 0.186 342.7);
Tailwind
colors: {
  custom: {
    50: '#c06ba1',
    500: '#a01f7b',
    950: '#000000',
  },
}
SCSS
$custom: #a01f7b;
$custom-light: #c06ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#a01f7b",
  "rgb": {
    "r": 160,
    "g": 31,
    "b": 123
  },
  "hsl": {
    "h": 317.209,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48713,
    "c": 0.18605,
    "h": 342.7
  },
  "luminance": 0.09884
}

Semantic roles & 50–950 ramp

primary
#A01F7B
secondary
#58C377
accent
#EA6F3D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070F
muted
#827A7E

Preview Lab

Preview with #A01F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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