#9F1240#9F1240

#9F1240 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.172 H 10.3°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#9F1240
RGBrgb(159, 18, 64)
HSLhsl(340, 80%, 35%)
HSVhsv(340, 89%, 62%)
CMYKcmyk(0%, 88.7%, 59.7%, 37.6%)
CIE-LABlab(34.35, 55.81, 12.36)
CIE-LCHlch(34.35, 57.17, 12.49°)
OKLaboklab(45.62% 0.1692 0.0308)
OKLCHoklch(45.62% 0.172 10.3)
XYZxyz(15.4414, 8.1761, 5.6146)
Luminance0.0817 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1240 #129F71
analogous
#9F1286 #9F1240 #9F2B12
triadic
#9F1240 #409F12 #12409F
tetradic
#9F1240 #869F12 #129F71 #2B129F
square
#9F1240 #869F12 #129F71 #2B129F
split-complementary
#9F1240 #129F2B #12869F
monochromatic
#310614 #680C2A #9F1240 #D61856 #EA4279

Accessibility & contrast

On white

7.97
#9F1240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#9F1240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1240
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1240#FFFFFF#000000##FFFFFF
##9F12401.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3F41
Deuteranopia (green-blind)
#625B3C
Tritanopia (blue-blind)
#AE0028
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f1240;
/* rgb */ color: rgb(159, 18, 64);
/* oklch */ color: oklch(45.6% 0.172 10.3);
Tailwind
colors: {
  custom: {
    50: '#c36574',
    500: '#9f1240',
    950: '#000000',
  },
}
SCSS
$custom: #9f1240;
$custom-light: #c36574;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1240",
  "rgb": {
    "r": 159,
    "g": 18,
    "b": 64
  },
  "hsl": {
    "h": 340.426,
    "s": 79.661,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4562,
    "c": 0.172,
    "h": 10.3
  },
  "luminance": 0.08174
}

Semantic roles & 50–950 ramp

primary
#9F1240
secondary
#43CA9E
accent
#F6B632
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140608
muted
#827A7B

Preview Lab

Preview with #9F1240

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

Preview Lab → · Contrast checker → · Palette generator →

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