#A01742#A01742

#A01742 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.170 H 10.1°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#A01742
RGBrgb(160, 23, 66)
HSLhsl(341, 75%, 36%)
HSVhsv(341, 86%, 63%)
CMYKcmyk(0%, 85.6%, 58.8%, 37.3%)
CIE-LABlab(34.97, 55.17, 11.94)
CIE-LCHlch(34.97, 56.45, 12.21°)
OKLaboklab(46.13% 0.1673 0.0299)
OKLCHoklch(46.13% 0.17 10.1)
XYZxyz(15.7886, 8.4821, 5.9591)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01742 #17A075
analogous
#A01786 #A01742 #A03117
triadic
#A01742 #42A017 #1742A0
tetradic
#A01742 #86A017 #17A075 #3117A0
square
#A01742 #86A017 #17A075 #3117A0
split-complementary
#A01742 #17A031 #1786A0
monochromatic
#350816 #6A0F2C #A01742 #D61F58 #E54C7C

Accessibility & contrast

On white

7.79
#A01742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#A01742 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A01742
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01742#FFFFFF#000000##FFFFFF
##A017421.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404143
Deuteranopia (green-blind)
#635C3F
Tritanopia (blue-blind)
#AF002B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #a01742;
/* rgb */ color: rgb(160, 23, 66);
/* oklch */ color: oklch(46.1% 0.170 10.1);
Tailwind
colors: {
  custom: {
    50: '#c36676',
    500: '#a01742',
    950: '#000000',
  },
}
SCSS
$custom: #a01742;
$custom-light: #c36676;
$custom-dark: #000000;
JSON
{
  "hex": "#a01742",
  "rgb": {
    "r": 160,
    "g": 23,
    "b": 66
  },
  "hsl": {
    "h": 341.168,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46127,
    "c": 0.16998,
    "h": 10.1
  },
  "luminance": 0.0848
}

Semantic roles & 50–950 ramp

primary
#A01742
secondary
#4CC7A0
accent
#F1B736
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #A01742

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

Preview Lab → · Contrast checker → · Palette generator →

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