#9F2045#9F2045

#9F2045 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.162 H 9.8°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#9F2045
RGBrgb(159, 32, 69)
HSLhsl(343, 66%, 37%)
HSVhsv(343, 80%, 62%)
CMYKcmyk(0%, 79.9%, 56.6%, 37.6%)
CIE-LABlab(35.67, 52.74, 10.92)
CIE-LCHlch(35.67, 53.86, 11.70°)
OKLaboklab(46.63% 0.1601 0.0276)
OKLCHoklch(46.63% 0.162 9.8)
XYZxyz(15.8903, 8.8359, 6.4979)
Luminance0.0883 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2045 #209F7A
analogous
#9F2084 #9F2045 #9F3B20
triadic
#9F2045 #459F20 #20459F
tetradic
#9F2045 #849F20 #209F7A #3B209F
square
#9F2045 #849F20 #209F7A #3B209F
split-complementary
#9F2045 #209F3B #20849F
monochromatic
#390B19 #6C162F #9F2045 #D22A5B #DE5B81

Accessibility & contrast

On white

7.59
#9F2045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9F2045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2045
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2045#FFFFFF#000000##FFFFFF
##9F20451.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434346
Deuteranopia (green-blind)
#645D42
Tritanopia (blue-blind)
#AE0030
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f2045;
/* rgb */ color: rgb(159, 32, 69);
/* oklch */ color: oklch(46.6% 0.162 9.8);
Tailwind
colors: {
  custom: {
    50: '#c26978',
    500: '#9f2045',
    950: '#000000',
  },
}
SCSS
$custom: #9f2045;
$custom-light: #c26978;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2045",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 69
  },
  "hsl": {
    "h": 342.52,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46629,
    "c": 0.16246,
    "h": 9.8
  },
  "luminance": 0.08834
}

Semantic roles & 50–950 ramp

primary
#9F2045
secondary
#59C2A3
accent
#E9B83E
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F2045

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

Preview Lab → · Contrast checker → · Palette generator →

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