#A01F5D#A01F5D

#A01F5D is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.5% C 0.171 H 357.2°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#A01F5D
RGBrgb(160, 31, 93)
HSLhsl(331, 68%, 37%)
HSVhsv(331, 81%, 63%)
CMYKcmyk(0%, 80.6%, 41.9%, 37.3%)
CIE-LABlab(36.45, 55.42, -3.40)
CIE-LCHlch(36.45, 55.52, 356.49°)
OKLaboklab(47.47% 0.1705 -0.0082)
OKLCHoklch(47.47% 0.171 357.2)
XYZxyz(16.9642, 9.2461, 11.2452)
Luminance0.0924 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01F5D #1FA062
analogous
#A01F9D #A01F5D #A0221F
triadic
#A01F5D #5DA01F #1F5DA0
tetradic
#A01F5D #9DA01F #1FA062 #221FA0
square
#A01F5D #9DA01F #1FA062 #221FA0
split-complementary
#A01F5D #1FA022 #1F9DA0
monochromatic
#390B21 #6D153F #A01F5D #D3297B #DF5A9A

Accessibility & contrast

On white

7.37
#A01F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#A01F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A01F5D
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01F5D#FFFFFF#000000##FFFFFF
##A01F5D1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C465E
Deuteranopia (green-blind)
#605E5A
Tritanopia (blue-blind)
#AE043B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a01f5d;
/* rgb */ color: rgb(160, 31, 93);
/* oklch */ color: oklch(47.5% 0.171 357.2);
Tailwind
colors: {
  custom: {
    50: '#c16a8a',
    500: '#a01f5d',
    950: '#000000',
  },
}
SCSS
$custom: #a01f5d;
$custom-light: #c16a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a01f5d",
  "rgb": {
    "r": 160,
    "g": 31,
    "b": 93
  },
  "hsl": {
    "h": 331.163,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47468,
    "c": 0.17071,
    "h": 357.2
  },
  "luminance": 0.09244
}

Semantic roles & 50–950 ramp

primary
#A01F5D
secondary
#58C38F
accent
#EA973D
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #A01F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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