#9F1B40#9F1B40

#9F1B40 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.166 H 11.5°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#9F1B40
RGBrgb(159, 27, 64)
HSLhsl(343, 71%, 36%)
HSVhsv(343, 83%, 62%)
CMYKcmyk(0%, 83%, 59.7%, 37.6%)
CIE-LABlab(35.06, 53.78, 13.33)
CIE-LCHlch(35.06, 55.41, 13.92°)
OKLaboklab(46.14% 0.1626 0.0331)
OKLCHoklch(46.14% 0.166 11.5)
XYZxyz(15.6170, 8.5273, 5.6731)
Luminance0.0853 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B40 #1B9F7A
analogous
#9F1B82 #9F1B40 #9F381B
triadic
#9F1B40 #409F1B #1B409F
tetradic
#9F1B40 #829F1B #1B9F7A #381B9F
square
#9F1B40 #829F1B #1B9F7A #381B9F
split-complementary
#9F1B40 #1B9F38 #1B829F
monochromatic
#360916 #6B122B #9F1B40 #D32455 #E2537B

Accessibility & contrast

On white

7.76
#9F1B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#9F1B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1B40
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B40#FFFFFF#000000##FFFFFF
##9F1B401.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f1b40;
/* rgb */ color: rgb(159, 27, 64);
/* oklch */ color: oklch(46.1% 0.166 11.5);
Tailwind
colors: {
  custom: {
    50: '#c26774',
    500: '#9f1b40',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b40;
$custom-light: #c26774;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b40",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 64
  },
  "hsl": {
    "h": 343.182,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46142,
    "c": 0.16595,
    "h": 11.5
  },
  "luminance": 0.08525
}

Semantic roles & 50–950 ramp

primary
#9F1B40
secondary
#51C5A4
accent
#EEBB3A
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F1B40

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

Preview Lab → · Contrast checker → · Palette generator →

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