#9F1945#9F1945

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

Color values

HEX#9F1945
RGBrgb(159, 25, 69)
HSLhsl(340, 73%, 36%)
HSVhsv(340, 84%, 62%)
CMYKcmyk(0%, 84.3%, 56.6%, 37.6%)
CIE-LABlab(35.00, 54.64, 10.00)
CIE-LCHlch(35.00, 55.55, 10.37°)
OKLaboklab(46.14% 0.1662 0.0253)
OKLCHoklch(46.14% 0.168 8.7)
XYZxyz(15.7214, 8.4982, 6.4416)
Luminance0.0850 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1945 #199F73
analogous
#9F1988 #9F1945 #9F3019
triadic
#9F1945 #459F19 #19459F
tetradic
#9F1945 #889F19 #199F73 #30199F
square
#9F1945 #889F19 #199F73 #30199F
split-complementary
#9F1945 #199F30 #19889F
monochromatic
#350817 #6A112E #9F1945 #D4215C #E34F80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F1945#FFFFFF#000000##FFFFFF
##9F19451.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)
#404146
Deuteranopia (green-blind)
#625C42
Tritanopia (blue-blind)
#AE002D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1945;
/* rgb */ color: rgb(159, 25, 69);
/* oklch */ color: oklch(46.1% 0.168 8.7);
Tailwind
colors: {
  custom: {
    50: '#c26778',
    500: '#9f1945',
    950: '#000000',
  },
}
SCSS
$custom: #9f1945;
$custom-light: #c26778;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1945",
  "rgb": {
    "r": 159,
    "g": 25,
    "b": 69
  },
  "hsl": {
    "h": 340.299,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46138,
    "c": 0.16816,
    "h": 8.7
  },
  "luminance": 0.08496
}

Semantic roles & 50–950 ramp

primary
#9F1945
secondary
#4EC69E
accent
#F0B338
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F1945

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

Preview Lab → · Contrast checker → · Palette generator →

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