#9F1C40#9F1C40

#9F1C40 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.165 H 11.7°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#9F1C40
RGBrgb(159, 28, 64)
HSLhsl(344, 70%, 37%)
HSVhsv(344, 82%, 62%)
CMYKcmyk(0%, 82.4%, 59.7%, 37.6%)
CIE-LABlab(35.15, 53.52, 13.46)
CIE-LCHlch(35.15, 55.18, 14.11°)
OKLaboklab(46.21% 0.1618 0.0334)
OKLCHoklch(46.21% 0.165 11.7)
XYZxyz(15.6404, 8.5739, 5.6809)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1C40 #1C9F7B
analogous
#9F1C82 #9F1C40 #9F391C
triadic
#9F1C40 #409F1C #1C409F
tetradic
#9F1C40 #829F1C #1C9F7B #391C9F
square
#9F1C40 #829F1C #1C9F7B #391C9F
split-complementary
#9F1C40 #1C9F39 #1C829F
monochromatic
#370A16 #6B132B #9F1C40 #D32555 #E1547B

Accessibility & contrast

On white

7.74
#9F1C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1C40
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1C40#FFFFFF#000000##FFFFFF
##9F1C401.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f1c40;
/* rgb */ color: rgb(159, 28, 64);
/* oklch */ color: oklch(46.2% 0.165 11.7);
Tailwind
colors: {
  custom: {
    50: '#c26774',
    500: '#9f1c40',
    950: '#000000',
  },
}
SCSS
$custom: #9f1c40;
$custom-light: #c26774;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1c40",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 64
  },
  "hsl": {
    "h": 343.511,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46211,
    "c": 0.16518,
    "h": 11.7
  },
  "luminance": 0.08572
}

Semantic roles & 50–950 ramp

primary
#9F1C40
secondary
#53C4A5
accent
#EDBC3B
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F1C40

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

Preview Lab → · Contrast checker → · Palette generator →

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