#9F245E#9F245E

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

Color values

HEX#9F245E
RGBrgb(159, 36, 94)
HSLhsl(332, 63%, 38%)
HSVhsv(332, 77%, 62%)
CMYKcmyk(0%, 77.4%, 40.9%, 37.6%)
CIE-LABlab(36.82, 53.75, -3.51)
CIE-LCHlch(36.82, 53.87, 356.26°)
OKLaboklab(47.72% 0.1652 -0.0085)
OKLCHoklch(47.72% 0.165 357)
XYZxyz(16.9505, 9.4430, 11.5176)
Luminance0.0944 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F245E #249F65
analogous
#9F249B #9F245E #9F2724
triadic
#9F245E #5E9F24 #245E9F
tetradic
#9F245E #9B9F24 #249F65 #27249F
square
#9F245E #9B9F24 #249F65 #27249F
split-complementary
#9F245E #249F27 #249B9F
monochromatic
#3B0D23 #6D1940 #9F245E #D0307C #DB629B

Accessibility & contrast

On white

7.27
#9F245E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9F245E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F245E
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F245E#FFFFFF#000000##FFFFFF
##9F245E1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E485F
Deuteranopia (green-blind)
#605F5B
Tritanopia (blue-blind)
#AC113E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f245e;
/* rgb */ color: rgb(159, 36, 94);
/* oklch */ color: oklch(47.7% 0.165 357.0);
Tailwind
colors: {
  custom: {
    50: '#c06b8b',
    500: '#9f245e',
    950: '#000000',
  },
}
SCSS
$custom: #9f245e;
$custom-light: #c06b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f245e",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 94
  },
  "hsl": {
    "h": 331.707,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47715,
    "c": 0.16541,
    "h": 357
  },
  "luminance": 0.09441
}

Semantic roles & 50–950 ramp

primary
#9F245E
secondary
#5EC192
accent
#E69942
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9F245E

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

Preview Lab → · Contrast checker → · Palette generator →

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