#9F1348#9F1348

#9F1348 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.9% C 0.173 H 6.4°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#9F1348
RGBrgb(159, 19, 72)
HSLhsl(337, 79%, 35%)
HSVhsv(337, 88%, 62%)
CMYKcmyk(0%, 88.1%, 54.7%, 37.6%)
CIE-LABlab(34.61, 56.19, 7.50)
CIE-LCHlch(34.61, 56.69, 7.61°)
OKLaboklab(45.88% 0.1717 0.0193)
OKLCHoklch(45.88% 0.173 6.4)
XYZxyz(15.7022, 8.3069, 6.9062)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1348 #139F6A
analogous
#9F138E #9F1348 #9F2413
triadic
#9F1348 #489F13 #13489F
tetradic
#9F1348 #8E9F13 #139F6A #24139F
square
#9F1348 #8E9F13 #139F6A #24139F
split-complementary
#9F1348 #139F24 #138E9F
monochromatic
#320616 #680C2F #9F1348 #D61A61 #E94482

Accessibility & contrast

On white

7.89
#9F1348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1348
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1348#FFFFFF#000000##FFFFFF
##9F13481.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4049
Deuteranopia (green-blind)
#605B45
Tritanopia (blue-blind)
#AE002D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f1348;
/* rgb */ color: rgb(159, 19, 72);
/* oklch */ color: oklch(45.9% 0.173 6.4);
Tailwind
colors: {
  custom: {
    50: '#c2657a',
    500: '#9f1348',
    950: '#000000',
  },
}
SCSS
$custom: #9f1348;
$custom-light: #c2657a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1348",
  "rgb": {
    "r": 159,
    "g": 19,
    "b": 72
  },
  "hsl": {
    "h": 337.286,
    "s": 78.652,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4588,
    "c": 0.17279,
    "h": 6.4
  },
  "luminance": 0.08305
}

Semantic roles & 50–950 ramp

primary
#9F1348
secondary
#45C997
accent
#F5AC33
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F1348

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

Preview Lab → · Contrast checker → · Palette generator →

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