#9F1B45#9F1B45

#9F1B45 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.167 H 9.0°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#9F1B45
RGBrgb(159, 27, 69)
HSLhsl(341, 71%, 36%)
HSVhsv(341, 83%, 62%)
CMYKcmyk(0%, 83%, 56.6%, 37.6%)
CIE-LABlab(35.18, 54.14, 10.25)
CIE-LCHlch(35.18, 55.10, 10.72°)
OKLaboklab(46.27% 0.1646 0.0259)
OKLCHoklch(46.27% 0.167 9)
XYZxyz(15.7657, 8.5868, 6.4563)
Luminance0.0858 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B45 #1B9F75
analogous
#9F1B87 #9F1B45 #9F331B
triadic
#9F1B45 #459F1B #1B459F
tetradic
#9F1B45 #879F1B #1B9F75 #331B9F
square
#9F1B45 #879F1B #1B9F75 #331B9F
split-complementary
#9F1B45 #1B9F33 #1B879F
monochromatic
#360918 #6B122E #9F1B45 #D3245C #E25380

Accessibility & contrast

On white

7.73
#9F1B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9F1B45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1B45
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B45#FFFFFF#000000##FFFFFF
##9F1B451.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414246
Deuteranopia (green-blind)
#625C42
Tritanopia (blue-blind)
#AE002E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1b45;
/* rgb */ color: rgb(159, 27, 69);
/* oklch */ color: oklch(46.3% 0.167 9.0);
Tailwind
colors: {
  custom: {
    50: '#c26778',
    500: '#9f1b45',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b45;
$custom-light: #c26778;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b45",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 69
  },
  "hsl": {
    "h": 340.909,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46268,
    "c": 0.16664,
    "h": 9
  },
  "luminance": 0.08584
}

Semantic roles & 50–950 ramp

primary
#9F1B45
secondary
#51C5A0
accent
#EEB53A
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F1B45

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

Preview Lab → · Contrast checker → · Palette generator →

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