#9F245C#9F245C

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

Color values

HEX#9F245C
RGBrgb(159, 36, 92)
HSLhsl(333, 63%, 38%)
HSVhsv(333, 77%, 62%)
CMYKcmyk(0%, 77.4%, 42.1%, 37.6%)
CIE-LABlab(36.76, 53.55, -2.33)
CIE-LCHlch(36.76, 53.60, 357.51°)
OKLaboklab(47.64% 0.1645 -0.0054)
OKLCHoklch(47.64% 0.165 358.1)
XYZxyz(16.8620, 9.4076, 11.0510)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F245C #249F67
analogous
#9F2499 #9F245C #9F2924
triadic
#9F245C #5C9F24 #245C9F
tetradic
#9F245C #999F24 #249F67 #29249F
square
#9F245C #999F24 #249F67 #29249F
split-complementary
#9F245C #249F29 #24999F
monochromatic
#3B0D22 #6D193F #9F245C #D03079 #DB6299

Accessibility & contrast

On white

7.29
#9F245C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F245C
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F245C#FFFFFF#000000##FFFFFF
##9F245C1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F485D
Deuteranopia (green-blind)
#605F59
Tritanopia (blue-blind)
#AC103D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f245c;
/* rgb */ color: rgb(159, 36, 92);
/* oklch */ color: oklch(47.6% 0.165 358.1);
Tailwind
colors: {
  custom: {
    50: '#c06b8a',
    500: '#9f245c',
    950: '#000000',
  },
}
SCSS
$custom: #9f245c;
$custom-light: #c06b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f245c",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 92
  },
  "hsl": {
    "h": 332.683,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47644,
    "c": 0.16463,
    "h": 358.1
  },
  "luminance": 0.09405
}

Semantic roles & 50–950 ramp

primary
#9F245C
secondary
#5EC194
accent
#E69B42
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F245C

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

Preview Lab → · Contrast checker → · Palette generator →

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