#9F2456#9F2456

#9F2456 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.4% C 0.163 H 1.3°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#9F2456
RGBrgb(159, 36, 86)
HSLhsl(336, 63%, 38%)
HSVhsv(336, 77%, 62%)
CMYKcmyk(0%, 77.4%, 45.9%, 37.6%)
CIE-LABlab(36.57, 52.95, 1.24)
CIE-LCHlch(36.57, 52.97, 1.34°)
OKLaboklab(47.44% 0.1625 0.0038)
OKLCHoklch(47.44% 0.163 1.3)
XYZxyz(16.6100, 9.3068, 9.7240)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2456 #249F6D
analogous
#9F2493 #9F2456 #9F3024
triadic
#9F2456 #569F24 #24569F
tetradic
#9F2456 #939F24 #249F6D #30249F
square
#9F2456 #939F24 #249F6D #30249F
split-complementary
#9F2456 #249F30 #24939F
monochromatic
#3B0D20 #6D193B #9F2456 #D03071 #DB6293

Accessibility & contrast

On white

7.34
#9F2456 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9F2456 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2456
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2456#FFFFFF#000000##FFFFFF
##9F24561.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414757
Deuteranopia (green-blind)
#625F53
Tritanopia (blue-blind)
#AD0A3A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f2456;
/* rgb */ color: rgb(159, 36, 86);
/* oklch */ color: oklch(47.4% 0.163 1.3);
Tailwind
colors: {
  custom: {
    50: '#c16b85',
    500: '#9f2456',
    950: '#000000',
  },
}
SCSS
$custom: #9f2456;
$custom-light: #c16b85;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2456",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 86
  },
  "hsl": {
    "h": 335.61,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47444,
    "c": 0.16255,
    "h": 1.3
  },
  "luminance": 0.09305
}

Semantic roles & 50–950 ramp

primary
#9F2456
secondary
#5EC199
accent
#E6A342
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F2456

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

Preview Lab → · Contrast checker → · Palette generator →

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