#9F245D#9F245D

#9F245D is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.165 H 357.6°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#9F245D
RGBrgb(159, 36, 93)
HSLhsl(332, 63%, 38%)
HSVhsv(332, 77%, 62%)
CMYKcmyk(0%, 77.4%, 41.5%, 37.6%)
CIE-LABlab(36.79, 53.65, -2.92)
CIE-LCHlch(36.79, 53.73, 356.88°)
OKLaboklab(47.68% 0.1649 -0.007)
OKLCHoklch(47.68% 0.165 357.6)
XYZxyz(16.9060, 9.4252, 11.2828)
Luminance0.0942 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F245D #249F66
analogous
#9F249A #9F245D #9F2824
triadic
#9F245D #5D9F24 #245D9F
tetradic
#9F245D #9A9F24 #249F66 #28249F
square
#9F245D #9A9F24 #249F66 #28249F
split-complementary
#9F245D #249F28 #249A9F
monochromatic
#3B0D23 #6D1940 #9F245D #D0307A #DB629A

Accessibility & contrast

On white

7.28
#9F245D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9F245D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F245D
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F245D#FFFFFF#000000##FFFFFF
##9F245D1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F485E
Deuteranopia (green-blind)
#605F5A
Tritanopia (blue-blind)
#AC113D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f245d;
/* rgb */ color: rgb(159, 36, 93);
/* oklch */ color: oklch(47.7% 0.165 357.6);
Tailwind
colors: {
  custom: {
    50: '#c06b8a',
    500: '#9f245d',
    950: '#000000',
  },
}
SCSS
$custom: #9f245d;
$custom-light: #c06b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f245d",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 93
  },
  "hsl": {
    "h": 332.195,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47679,
    "c": 0.16502,
    "h": 357.6
  },
  "luminance": 0.09423
}

Semantic roles & 50–950 ramp

primary
#9F245D
secondary
#5EC193
accent
#E69A42
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F245D

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

Preview Lab → · Contrast checker → · Palette generator →

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