#9F2458#9F2458

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

Color values

HEX#9F2458
RGBrgb(159, 36, 88)
HSLhsl(335, 63%, 38%)
HSVhsv(335, 77%, 62%)
CMYKcmyk(0%, 77.4%, 44.7%, 37.6%)
CIE-LABlab(36.63, 53.15, 0.04)
CIE-LCHlch(36.63, 53.15, 0.05°)
OKLaboklab(47.51% 0.1632 0.0007)
OKLCHoklch(47.51% 0.163 0.2)
XYZxyz(16.6917, 9.3395, 10.1544)
Luminance0.0934 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2458 #249F6B
analogous
#9F2495 #9F2458 #9F2D24
triadic
#9F2458 #589F24 #24589F
tetradic
#9F2458 #959F24 #249F6B #2D249F
square
#9F2458 #959F24 #249F6B #2D249F
split-complementary
#9F2458 #249F2D #24959F
monochromatic
#3B0D21 #6D193C #9F2458 #D03074 #DB6295

Accessibility & contrast

On white

7.32
#9F2458 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9F2458 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2458
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2458#FFFFFF#000000##FFFFFF
##9F24581.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404759
Deuteranopia (green-blind)
#615F55
Tritanopia (blue-blind)
#AD0C3B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f2458;
/* rgb */ color: rgb(159, 36, 88);
/* oklch */ color: oklch(47.5% 0.163 0.2);
Tailwind
colors: {
  custom: {
    50: '#c16b87',
    500: '#9f2458',
    950: '#000000',
  },
}
SCSS
$custom: #9f2458;
$custom-light: #c16b87;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2458",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 88
  },
  "hsl": {
    "h": 334.634,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47509,
    "c": 0.1632,
    "h": 0.2
  },
  "luminance": 0.09337
}

Semantic roles & 50–950 ramp

primary
#9F2458
secondary
#5EC197
accent
#E6A142
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F2458

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

Preview Lab → · Contrast checker → · Palette generator →

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