#A01F4C#A01F4C

#A01F4C is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.166 H 6.1°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#A01F4C
RGBrgb(160, 31, 76)
HSLhsl(339, 68%, 37%)
HSVhsv(339, 81%, 63%)
CMYKcmyk(0%, 80.6%, 52.5%, 37.3%)
CIE-LABlab(35.94, 53.87, 6.81)
CIE-LCHlch(35.94, 54.30, 7.20°)
OKLaboklab(46.93% 0.1646 0.0177)
OKLCHoklch(46.93% 0.166 6.1)
XYZxyz(16.2932, 8.9777, 7.7110)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01F4C #1FA073
analogous
#A01F8C #A01F4C #A0331F
triadic
#A01F4C #4CA01F #1F4CA0
tetradic
#A01F4C #8CA01F #1FA073 #331FA0
square
#A01F4C #8CA01F #1FA073 #331FA0
split-complementary
#A01F4C #1FA033 #1F8CA0
monochromatic
#390B1B #6D1534 #A01F4C #D32964 #DF5A89

Accessibility & contrast

On white

7.51
#A01F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#A01F4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A01F4C
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01F4C#FFFFFF#000000##FFFFFF
##A01F4C1.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41444D
Deuteranopia (green-blind)
#635E49
Tritanopia (blue-blind)
#AF0033
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a01f4c;
/* rgb */ color: rgb(160, 31, 76);
/* oklch */ color: oklch(46.9% 0.166 6.1);
Tailwind
colors: {
  custom: {
    50: '#c2697d',
    500: '#a01f4c',
    950: '#000000',
  },
}
SCSS
$custom: #a01f4c;
$custom-light: #c2697d;
$custom-dark: #000000;
JSON
{
  "hex": "#a01f4c",
  "rgb": {
    "r": 160,
    "g": 31,
    "b": 76
  },
  "hsl": {
    "h": 339.07,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46925,
    "c": 0.16552,
    "h": 6.1
  },
  "luminance": 0.08975
}

Semantic roles & 50–950 ramp

primary
#A01F4C
secondary
#58C39E
accent
#EAAE3D
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140709
muted
#827A7B

Preview Lab

Preview with #A01F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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