#9F1540#9F1540

#9F1540 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.170 H 10.7°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#9F1540
RGBrgb(159, 21, 64)
HSLhsl(341, 77%, 35%)
HSVhsv(341, 87%, 62%)
CMYKcmyk(0%, 86.8%, 59.7%, 37.6%)
CIE-LABlab(34.56, 55.21, 12.65)
CIE-LCHlch(34.56, 56.64, 12.91°)
OKLaboklab(45.78% 0.1672 0.0315)
OKLCHoklch(45.78% 0.17 10.7)
XYZxyz(15.4933, 8.2798, 5.6319)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1540 #159F74
analogous
#9F1585 #9F1540 #9F2F15
triadic
#9F1540 #409F15 #15409F
tetradic
#9F1540 #859F15 #159F74 #2F159F
square
#9F1540 #859F15 #159F74 #2F159F
split-complementary
#9F1540 #159F2F #15859F
monochromatic
#330714 #690E2A #9F1540 #D51C56 #E74879

Accessibility & contrast

On white

7.91
#9F1540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#9F1540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1540
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1540#FFFFFF#000000##FFFFFF
##9F15401.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f1540;
/* rgb */ color: rgb(159, 21, 64);
/* oklch */ color: oklch(45.8% 0.170 10.7);
Tailwind
colors: {
  custom: {
    50: '#c26574',
    500: '#9f1540',
    950: '#000000',
  },
}
SCSS
$custom: #9f1540;
$custom-light: #c26574;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1540",
  "rgb": {
    "r": 159,
    "g": 21,
    "b": 64
  },
  "hsl": {
    "h": 341.304,
    "s": 76.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45775,
    "c": 0.17018,
    "h": 10.7
  },
  "luminance": 0.08277
}

Semantic roles & 50–950 ramp

primary
#9F1540
secondary
#48C8A0
accent
#F3B835
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F1540

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

Preview Lab → · Contrast checker → · Palette generator →

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