#9A1940#9A1940

#9A1940 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.1% C 0.163 H 10.2°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#9A1940
RGBrgb(154, 25, 64)
HSLhsl(342, 72%, 35%)
HSVhsv(342, 84%, 60%)
CMYKcmyk(0%, 83.8%, 58.4%, 39.6%)
CIE-LABlab(33.85, 52.90, 11.52)
CIE-LCHlch(33.85, 54.14, 12.28°)
OKLaboklab(45.07% 0.1604 0.0289)
OKLCHoklch(45.07% 0.163 10.2)
XYZxyz(14.6009, 7.9376, 5.6128)
Luminance0.0794 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1940 #199A73
analogous
#9A1981 #9A1940 #9A3219
triadic
#9A1940 #409A19 #19409A
tetradic
#9A1940 #819A19 #199A73 #32199A
square
#9A1940 #819A19 #199A73 #32199A
split-complementary
#9A1940 #199A32 #19819A
monochromatic
#310814 #65102A #9A1940 #CF2256 #E24C79

Accessibility & contrast

On white

8.12
#9A1940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#9A1940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1940
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1940#FFFFFF#000000##FFFFFF
##9A19401.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a1940;
/* rgb */ color: rgb(154, 25, 64);
/* oklch */ color: oklch(45.1% 0.163 10.2);
Tailwind
colors: {
  custom: {
    50: '#be6674',
    500: '#9a1940',
    950: '#000000',
  },
}
SCSS
$custom: #9a1940;
$custom-light: #be6674;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1940",
  "rgb": {
    "r": 154,
    "g": 25,
    "b": 64
  },
  "hsl": {
    "h": 341.86,
    "s": 72.067,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45074,
    "c": 0.16302,
    "h": 10.2
  },
  "luminance": 0.07935
}

Semantic roles & 50–950 ramp

primary
#9A1940
secondary
#4BC49F
accent
#EFB839
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130608
muted
#827A7B

Preview Lab

Preview with #9A1940

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

Preview Lab → · Contrast checker → · Palette generator →

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