#A01840#A01840

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

Color values

HEX#A01840
RGBrgb(160, 24, 64)
HSLhsl(342, 74%, 36%)
HSVhsv(342, 85%, 63%)
CMYKcmyk(0%, 85%, 60%, 37.3%)
CIE-LABlab(35.00, 54.80, 13.29)
CIE-LCHlch(35.00, 56.39, 13.63°)
OKLaboklab(46.14% 0.1658 0.033)
OKLCHoklch(46.14% 0.169 11.3)
XYZxyz(15.7509, 8.4994, 5.6607)
Luminance0.0850 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01840 #18A078
analogous
#A01884 #A01840 #A03418
triadic
#A01840 #40A018 #1840A0
tetradic
#A01840 #84A018 #18A078 #3418A0
square
#A01840 #84A018 #18A078 #3418A0
split-complementary
#A01840 #18A034 #1884A0
monochromatic
#360815 #6B102B #A01840 #D52055 #E44E7A

Accessibility & contrast

On white

7.78
#A01840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A01840
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01840#FFFFFF#000000##FFFFFF
##A018401.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414141
Deuteranopia (green-blind)
#635C3C
Tritanopia (blue-blind)
#B0002A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #a01840;
/* rgb */ color: rgb(160, 24, 64);
/* oklch */ color: oklch(46.1% 0.169 11.3);
Tailwind
colors: {
  custom: {
    50: '#c36674',
    500: '#a01840',
    950: '#000000',
  },
}
SCSS
$custom: #a01840;
$custom-light: #c36674;
$custom-dark: #000000;
JSON
{
  "hex": "#a01840",
  "rgb": {
    "r": 160,
    "g": 24,
    "b": 64
  },
  "hsl": {
    "h": 342.353,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46137,
    "c": 0.16904,
    "h": 11.3
  },
  "luminance": 0.08497
}

Semantic roles & 50–950 ramp

primary
#A01840
secondary
#4DC6A3
accent
#F1BA37
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #A01840

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

Preview Lab → · Contrast checker → · Palette generator →

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