#9D1840#9D1840

#9D1840 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.166 H 10.7°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#9D1840
RGBrgb(157, 24, 64)
HSLhsl(342, 73%, 35%)
HSVhsv(342, 85%, 62%)
CMYKcmyk(0%, 84.7%, 59.2%, 38.4%)
CIE-LABlab(34.38, 53.98, 12.35)
CIE-LCHlch(34.38, 55.37, 12.88°)
OKLaboklab(45.57% 0.1635 0.0308)
OKLCHoklch(45.57% 0.166 10.7)
XYZxyz(15.1582, 8.1938, 5.6329)
Luminance0.0819 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1840 #189D75
analogous
#9D1882 #9D1840 #9D3218
triadic
#9D1840 #409D18 #18409D
tetradic
#9D1840 #829D18 #189D75 #32189D
square
#9D1840 #829D18 #189D75 #32189D
split-complementary
#9D1840 #189D32 #18829D
monochromatic
#330815 #68102A #9D1840 #D22056 #E44C79

Accessibility & contrast

On white

7.96
#9D1840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#9D1840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1840
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1840#FFFFFF#000000##FFFFFF
##9D18401.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4041
Deuteranopia (green-blind)
#615A3D
Tritanopia (blue-blind)
#AC002A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d1840;
/* rgb */ color: rgb(157, 24, 64);
/* oklch */ color: oklch(45.6% 0.166 10.7);
Tailwind
colors: {
  custom: {
    50: '#c16674',
    500: '#9d1840',
    950: '#000000',
  },
}
SCSS
$custom: #9d1840;
$custom-light: #c16674;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1840",
  "rgb": {
    "r": 157,
    "g": 24,
    "b": 64
  },
  "hsl": {
    "h": 341.955,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45573,
    "c": 0.1664,
    "h": 10.7
  },
  "luminance": 0.08192
}

Semantic roles & 50–950 ramp

primary
#9D1840
secondary
#4BC5A1
accent
#F0B938
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9D1840

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

Preview Lab → · Contrast checker → · Palette generator →

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