#A01F5B#A01F5B

#A01F5B is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.170 H 358.3°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#A01F5B
RGBrgb(160, 31, 91)
HSLhsl(332, 68%, 37%)
HSVhsv(332, 81%, 63%)
CMYKcmyk(0%, 80.6%, 43.1%, 37.3%)
CIE-LABlab(36.39, 55.22, -2.21)
CIE-LCHlch(36.39, 55.27, 357.71°)
OKLaboklab(47.4% 0.1699 -0.0051)
OKLCHoklch(47.4% 0.17 358.3)
XYZxyz(16.8768, 9.2111, 10.7847)
Luminance0.0921 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01F5B #1FA064
analogous
#A01F9B #A01F5B #A0241F
triadic
#A01F5B #5BA01F #1F5BA0
tetradic
#A01F5B #9BA01F #1FA064 #241FA0
square
#A01F5B #9BA01F #1FA064 #241FA0
split-complementary
#A01F5B #1FA024 #1F9BA0
monochromatic
#390B21 #6D153E #A01F5B #D32978 #DF5A98

Accessibility & contrast

On white

7.39
#A01F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#A01F5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A01F5B
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01F5B#FFFFFF#000000##FFFFFF
##A01F5B1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D465C
Deuteranopia (green-blind)
#605E58
Tritanopia (blue-blind)
#AE023A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a01f5b;
/* rgb */ color: rgb(160, 31, 91);
/* oklch */ color: oklch(47.4% 0.170 358.3);
Tailwind
colors: {
  custom: {
    50: '#c16989',
    500: '#a01f5b',
    950: '#000000',
  },
}
SCSS
$custom: #a01f5b;
$custom-light: #c16989;
$custom-dark: #000000;
JSON
{
  "hex": "#a01f5b",
  "rgb": {
    "r": 160,
    "g": 31,
    "b": 91
  },
  "hsl": {
    "h": 332.093,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47398,
    "c": 0.16996,
    "h": 358.3
  },
  "luminance": 0.09209
}

Semantic roles & 50–950 ramp

primary
#A01F5B
secondary
#58C391
accent
#EA9A3D
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #A01F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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