#9F2457#9F2457

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

Color values

HEX#9F2457
RGBrgb(159, 36, 87)
HSLhsl(335, 63%, 38%)
HSVhsv(335, 77%, 62%)
CMYKcmyk(0%, 77.4%, 45.3%, 37.6%)
CIE-LABlab(36.60, 53.05, 0.64)
CIE-LCHlch(36.60, 53.05, 0.69°)
OKLaboklab(47.48% 0.1629 0.0022)
OKLCHoklch(47.48% 0.163 0.8)
XYZxyz(16.6506, 9.3230, 9.9377)
Luminance0.0932 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2457 #249F6C
analogous
#9F2494 #9F2457 #9F2E24
triadic
#9F2457 #579F24 #24579F
tetradic
#9F2457 #949F24 #249F6C #2E249F
square
#9F2457 #949F24 #249F6C #2E249F
split-complementary
#9F2457 #249F2E #24949F
monochromatic
#3B0D20 #6D193C #9F2457 #D03072 #DB6294

Accessibility & contrast

On white

7.33
#9F2457 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F2457
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2457#FFFFFF#000000##FFFFFF
##9F24571.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404758
Deuteranopia (green-blind)
#615F54
Tritanopia (blue-blind)
#AD0B3A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f2457;
/* rgb */ color: rgb(159, 36, 87);
/* oklch */ color: oklch(47.5% 0.163 0.8);
Tailwind
colors: {
  custom: {
    50: '#c16b86',
    500: '#9f2457',
    950: '#000000',
  },
}
SCSS
$custom: #9f2457;
$custom-light: #c16b86;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2457",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 87
  },
  "hsl": {
    "h": 335.122,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47476,
    "c": 0.16288,
    "h": 0.8
  },
  "luminance": 0.09321
}

Semantic roles & 50–950 ramp

primary
#9F2457
secondary
#5EC198
accent
#E6A242
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F2457

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

Preview Lab → · Contrast checker → · Palette generator →

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