#9F245B#9F245B

#9F245B is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.164 H 358.6°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#9F245B
RGBrgb(159, 36, 91)
HSLhsl(333, 63%, 38%)
HSVhsv(333, 77%, 62%)
CMYKcmyk(0%, 77.4%, 42.8%, 37.6%)
CIE-LABlab(36.73, 53.44, -1.74)
CIE-LCHlch(36.73, 53.47, 358.14°)
OKLaboklab(47.61% 0.1642 -0.0039)
OKLCHoklch(47.61% 0.164 358.6)
XYZxyz(16.8185, 9.3902, 10.8223)
Luminance0.0939 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F245B #249F68
analogous
#9F2498 #9F245B #9F2B24
triadic
#9F245B #5B9F24 #245B9F
tetradic
#9F245B #989F24 #249F68 #2B249F
square
#9F245B #989F24 #249F68 #2B249F
split-complementary
#9F245B #249F2B #24989F
monochromatic
#3B0D22 #6D193E #9F245B #D03078 #DB6298

Accessibility & contrast

On white

7.30
#9F245B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F245B
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F245B#FFFFFF#000000##FFFFFF
##9F245B1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F485C
Deuteranopia (green-blind)
#615F58
Tritanopia (blue-blind)
#AD0F3C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f245b;
/* rgb */ color: rgb(159, 36, 91);
/* oklch */ color: oklch(47.6% 0.164 358.6);
Tailwind
colors: {
  custom: {
    50: '#c06b89',
    500: '#9f245b',
    950: '#000000',
  },
}
SCSS
$custom: #9f245b;
$custom-light: #c06b89;
$custom-dark: #000000;
JSON
{
  "hex": "#9f245b",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 91
  },
  "hsl": {
    "h": 333.171,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4761,
    "c": 0.16427,
    "h": 358.6
  },
  "luminance": 0.09388
}

Semantic roles & 50–950 ramp

primary
#9F245B
secondary
#5EC195
accent
#E69D42
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F245B

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

Preview Lab → · Contrast checker → · Palette generator →

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