#9F1E45#9F1E45

#9F1E45 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.164 H 9.4°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#9F1E45
RGBrgb(159, 30, 69)
HSLhsl(342, 68%, 37%)
HSVhsv(342, 81%, 62%)
CMYKcmyk(0%, 81.1%, 56.6%, 37.6%)
CIE-LABlab(35.46, 53.32, 10.64)
CIE-LCHlch(35.46, 54.37, 11.29°)
OKLaboklab(46.48% 0.162 0.0269)
OKLCHoklch(46.48% 0.164 9.4)
XYZxyz(15.8381, 8.7315, 6.4804)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1E45 #1E9F78
analogous
#9F1E86 #9F1E45 #9F371E
triadic
#9F1E45 #459F1E #1E459F
tetradic
#9F1E45 #869F1E #1E9F78 #371E9F
square
#9F1E45 #869F1E #1E9F78 #371E9F
split-complementary
#9F1E45 #1E9F37 #1E869F
monochromatic
#380B18 #6C142F #9F1E45 #D2285B #DF5881

Accessibility & contrast

On white

7.65
#9F1E45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9F1E45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1E45
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1E45#FFFFFF#000000##FFFFFF
##9F1E451.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424346
Deuteranopia (green-blind)
#635D42
Tritanopia (blue-blind)
#AE002F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1e45;
/* rgb */ color: rgb(159, 30, 69);
/* oklch */ color: oklch(46.5% 0.164 9.4);
Tailwind
colors: {
  custom: {
    50: '#c26878',
    500: '#9f1e45',
    950: '#000000',
  },
}
SCSS
$custom: #9f1e45;
$custom-light: #c26878;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1e45",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 69
  },
  "hsl": {
    "h": 341.86,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46478,
    "c": 0.1642,
    "h": 9.4
  },
  "luminance": 0.08729
}

Semantic roles & 50–950 ramp

primary
#9F1E45
secondary
#56C3A2
accent
#EBB63D
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F1E45

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

Preview Lab → · Contrast checker → · Palette generator →

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