#9A1A40#9A1A40

#9A1A40 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.162 H 10.4°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#9A1A40
RGBrgb(154, 26, 64)
HSLhsl(342, 71%, 35%)
HSVhsv(342, 83%, 60%)
CMYKcmyk(0%, 83.1%, 58.4%, 39.6%)
CIE-LABlab(33.94, 52.64, 11.64)
CIE-LCHlch(33.94, 53.91, 12.47°)
OKLaboklab(45.14% 0.1596 0.0292)
OKLCHoklch(45.14% 0.162 10.4)
XYZxyz(14.6227, 7.9812, 5.6200)
Luminance0.0798 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1A40 #1A9A74
analogous
#9A1A80 #9A1A40 #9A341A
triadic
#9A1A40 #409A1A #1A409A
tetradic
#9A1A40 #809A1A #1A9A74 #341A9A
square
#9A1A40 #809A1A #1A9A74 #341A9A
split-complementary
#9A1A40 #1A9A34 #1A809A
monochromatic
#310814 #66112A #9A1A40 #CE2356 #E14D79

Accessibility & contrast

On white

8.09
#9A1A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#9A1A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1A40
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1A40#FFFFFF#000000##FFFFFF
##9A1A401.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3F41
Deuteranopia (green-blind)
#60593D
Tritanopia (blue-blind)
#A9002B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9a1a40;
/* rgb */ color: rgb(154, 26, 64);
/* oklch */ color: oklch(45.1% 0.162 10.4);
Tailwind
colors: {
  custom: {
    50: '#be6674',
    500: '#9a1a40',
    950: '#000000',
  },
}
SCSS
$custom: #9a1a40;
$custom-light: #be6674;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1a40",
  "rgb": {
    "r": 154,
    "g": 26,
    "b": 64
  },
  "hsl": {
    "h": 342.188,
    "s": 71.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45141,
    "c": 0.16224,
    "h": 10.4
  },
  "luminance": 0.07979
}

Semantic roles & 50–950 ramp

primary
#9A1A40
secondary
#4DC3A0
accent
#EEB83A
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #9A1A40

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

Preview Lab → · Contrast checker → · Palette generator →

#9A1A40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva