#9F1940#9F1940

#9F1940 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.167 H 11.2°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#9F1940
RGBrgb(159, 25, 64)
HSLhsl(343, 73%, 36%)
HSVhsv(343, 84%, 62%)
CMYKcmyk(0%, 84.3%, 59.7%, 37.6%)
CIE-LABlab(34.88, 54.29, 13.09)
CIE-LCHlch(34.88, 55.84, 13.56°)
OKLaboklab(46.01% 0.1643 0.0325)
OKLCHoklch(46.01% 0.167 11.2)
XYZxyz(15.5727, 8.4387, 5.6583)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1940 #199F78
analogous
#9F1983 #9F1940 #9F3519
triadic
#9F1940 #409F19 #19409F
tetradic
#9F1940 #839F19 #199F78 #35199F
square
#9F1940 #839F19 #199F78 #35199F
split-complementary
#9F1940 #199F35 #19839F
monochromatic
#350815 #6A112B #9F1940 #D42155 #E34F7A

Accessibility & contrast

On white

7.81
#9F1940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9F1940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1940
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1940#FFFFFF#000000##FFFFFF
##9F19401.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f1940;
/* rgb */ color: rgb(159, 25, 64);
/* oklch */ color: oklch(46.0% 0.167 11.2);
Tailwind
colors: {
  custom: {
    50: '#c26674',
    500: '#9f1940',
    950: '#000000',
  },
}
SCSS
$custom: #9f1940;
$custom-light: #c26674;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1940",
  "rgb": {
    "r": 159,
    "g": 25,
    "b": 64
  },
  "hsl": {
    "h": 342.537,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46012,
    "c": 0.16745,
    "h": 11.2
  },
  "luminance": 0.08436
}

Semantic roles & 50–950 ramp

primary
#9F1940
secondary
#4EC6A3
accent
#F0BA38
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F1940

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

Preview Lab → · Contrast checker → · Palette generator →

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