#A01F7D#A01F7D

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

Color values

HEX#A01F7D
RGBrgb(160, 31, 125)
HSLhsl(316, 68%, 37%)
HSVhsv(316, 81%, 63%)
CMYKcmyk(0%, 80.6%, 21.9%, 37.3%)
CIE-LABlab(37.73, 59.17, -21.68)
CIE-LCHlch(37.73, 63.01, 339.88°)
OKLaboklab(48.81% 0.178 -0.0583)
OKLCHoklch(48.81% 0.187 341.9)
XYZxyz(18.6895, 9.9362, 20.3317)
Luminance0.0993 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01F7D #1FA042
analogous
#821FA0 #A01F7D #A01F3D
triadic
#A01F7D #7DA01F #1F7DA0
tetradic
#A01F7D #A0821F #1FA042 #1F3DA0
square
#A01F7D #A0821F #1FA042 #1F3DA0
split-complementary
#A01F7D #3DA01F #1FA082
monochromatic
#390B2D #6D1555 #A01F7D #D329A5 #DF5ABB

Accessibility & contrast

On white

7.03
#A01F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A01F7D
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01F7D#FFFFFF#000000##FFFFFF
##A01F7D1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4C7F
Deuteranopia (green-blind)
#56607A
Tritanopia (blue-blind)
#AA214D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a01f7d;
/* rgb */ color: rgb(160, 31, 125);
/* oklch */ color: oklch(48.8% 0.187 341.9);
Tailwind
colors: {
  custom: {
    50: '#c06ba3',
    500: '#a01f7d',
    950: '#000000',
  },
}
SCSS
$custom: #a01f7d;
$custom-light: #c06ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#a01f7d",
  "rgb": {
    "r": 160,
    "g": 31,
    "b": 125
  },
  "hsl": {
    "h": 316.279,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48809,
    "c": 0.18728,
    "h": 341.9
  },
  "luminance": 0.09934
}

Semantic roles & 50–950 ramp

primary
#A01F7D
secondary
#58C375
accent
#EA6C3D
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F

Preview Lab

Preview with #A01F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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