#9F1E40#9F1E40

#9F1E40 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.164 H 12.0°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#9F1E40
RGBrgb(159, 30, 64)
HSLhsl(344, 68%, 37%)
HSVhsv(344, 81%, 62%)
CMYKcmyk(0%, 81.1%, 59.7%, 37.6%)
CIE-LABlab(35.34, 52.96, 13.72)
CIE-LCHlch(35.34, 54.71, 14.52°)
OKLaboklab(46.35% 0.16 0.034)
OKLCHoklch(46.35% 0.164 12)
XYZxyz(15.6894, 8.6720, 5.6972)
Luminance0.0867 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1E40 #1E9F7D
analogous
#9F1E81 #9F1E40 #9F3D1E
triadic
#9F1E40 #409F1E #1E409F
tetradic
#9F1E40 #819F1E #1E9F7D #3D1E9F
square
#9F1E40 #819F1E #1E9F7D #3D1E9F
split-complementary
#9F1E40 #1E9F3D #1E819F
monochromatic
#380B17 #6C142B #9F1E40 #D22855 #DF587C

Accessibility & contrast

On white

7.68
#9F1E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#9F1E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1E40
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1E40#FFFFFF#000000##FFFFFF
##9F1E401.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434240
Deuteranopia (green-blind)
#645D3D
Tritanopia (blue-blind)
#AE002D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1e40;
/* rgb */ color: rgb(159, 30, 64);
/* oklch */ color: oklch(46.4% 0.164 12.0);
Tailwind
colors: {
  custom: {
    50: '#c26874',
    500: '#9f1e40',
    950: '#000000',
  },
}
SCSS
$custom: #9f1e40;
$custom-light: #c26874;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1e40",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 64
  },
  "hsl": {
    "h": 344.186,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46354,
    "c": 0.16356,
    "h": 12
  },
  "luminance": 0.0867
}

Semantic roles & 50–950 ramp

primary
#9F1E40
secondary
#56C3A6
accent
#EBBD3D
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F1E40

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

Preview Lab → · Contrast checker → · Palette generator →

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