#9F1848#9F1848

#9F1848 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.2% C 0.169 H 7.0°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#9F1848
RGBrgb(159, 24, 72)
HSLhsl(339, 74%, 36%)
HSVhsv(339, 85%, 62%)
CMYKcmyk(0%, 84.9%, 54.7%, 37.6%)
CIE-LABlab(34.99, 55.11, 8.04)
CIE-LCHlch(34.99, 55.69, 8.30°)
OKLaboklab(46.16% 0.1682 0.0207)
OKLCHoklch(46.16% 0.169 7)
XYZxyz(15.7959, 8.4944, 6.9375)
Luminance0.0849 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1848 #189F6F
analogous
#9F188B #9F1848 #9F2C18
triadic
#9F1848 #489F18 #18489F
tetradic
#9F1848 #8B9F18 #189F6F #2C189F
square
#9F1848 #8B9F18 #189F6F #2C189F
split-complementary
#9F1848 #189F2C #188B9F
monochromatic
#350818 #6A1030 #9F1848 #D42060 #E44D83

Accessibility & contrast

On white

7.78
#9F1848 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9F1848 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1848
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1848#FFFFFF#000000##FFFFFF
##9F18481.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4149
Deuteranopia (green-blind)
#615C45
Tritanopia (blue-blind)
#AE002E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1848;
/* rgb */ color: rgb(159, 24, 72);
/* oklch */ color: oklch(46.2% 0.169 7.0);
Tailwind
colors: {
  custom: {
    50: '#c2667a',
    500: '#9f1848',
    950: '#000000',
  },
}
SCSS
$custom: #9f1848;
$custom-light: #c2667a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1848",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 72
  },
  "hsl": {
    "h": 338.667,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46157,
    "c": 0.16944,
    "h": 7
  },
  "luminance": 0.08492
}

Semantic roles & 50–950 ramp

primary
#9F1848
secondary
#4DC69B
accent
#F0AF37
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F1848

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

Preview Lab → · Contrast checker → · Palette generator →

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