#9F1340#9F1340

#9F1340 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.7% C 0.171 H 10.4°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#9F1340
RGBrgb(159, 19, 64)
HSLhsl(341, 79%, 35%)
HSVhsv(341, 88%, 62%)
CMYKcmyk(0%, 88.1%, 59.7%, 37.6%)
CIE-LABlab(34.41, 55.62, 12.46)
CIE-LCHlch(34.41, 57.00, 12.62°)
OKLaboklab(45.67% 0.1686 0.031)
OKLCHoklch(45.67% 0.171 10.4)
XYZxyz(15.4580, 8.2092, 5.6201)
Luminance0.0821 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1340 #139F72
analogous
#9F1386 #9F1340 #9F2C13
triadic
#9F1340 #409F13 #13409F
tetradic
#9F1340 #869F13 #139F72 #2C139F
square
#9F1340 #869F13 #139F72 #2C139F
split-complementary
#9F1340 #139F2C #13869F
monochromatic
#320614 #680C2A #9F1340 #D61A56 #E94479

Accessibility & contrast

On white

7.95
#9F1340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#9F1340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1340
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1340#FFFFFF#000000##FFFFFF
##9F13401.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f1340;
/* rgb */ color: rgb(159, 19, 64);
/* oklch */ color: oklch(45.7% 0.171 10.4);
Tailwind
colors: {
  custom: {
    50: '#c36574',
    500: '#9f1340',
    950: '#000000',
  },
}
SCSS
$custom: #9f1340;
$custom-light: #c36574;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1340",
  "rgb": {
    "r": 159,
    "g": 19,
    "b": 64
  },
  "hsl": {
    "h": 340.714,
    "s": 78.652,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45669,
    "c": 0.17141,
    "h": 10.4
  },
  "luminance": 0.08207
}

Semantic roles & 50–950 ramp

primary
#9F1340
secondary
#45C99F
accent
#F5B733
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140608
muted
#827A7B

Preview Lab

Preview with #9F1340

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

Preview Lab → · Contrast checker → · Palette generator →

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