#9F245A#9F245A

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

Color values

HEX#9F245A
RGBrgb(159, 36, 90)
HSLhsl(334, 63%, 38%)
HSVhsv(334, 77%, 62%)
CMYKcmyk(0%, 77.4%, 43.4%, 37.6%)
CIE-LABlab(36.69, 53.34, -1.15)
CIE-LCHlch(36.69, 53.36, 358.77°)
OKLaboklab(47.58% 0.1639 -0.0024)
OKLCHoklch(47.58% 0.164 359.2)
XYZxyz(16.7757, 9.3731, 10.5967)
Luminance0.0937 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F245A #249F69
analogous
#9F2497 #9F245A #9F2C24
triadic
#9F245A #5A9F24 #245A9F
tetradic
#9F245A #979F24 #249F69 #2C249F
square
#9F245A #979F24 #249F69 #2C249F
split-complementary
#9F245A #249F2C #24979F
monochromatic
#3B0D22 #6D193E #9F245A #D03076 #DB6297

Accessibility & contrast

On white

7.31
#9F245A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F245A
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F245A#FFFFFF#000000##FFFFFF
##9F245A1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F475B
Deuteranopia (green-blind)
#615F57
Tritanopia (blue-blind)
#AD0E3C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f245a;
/* rgb */ color: rgb(159, 36, 90);
/* oklch */ color: oklch(47.6% 0.164 359.2);
Tailwind
colors: {
  custom: {
    50: '#c06b88',
    500: '#9f245a',
    950: '#000000',
  },
}
SCSS
$custom: #9f245a;
$custom-light: #c06b88;
$custom-dark: #000000;
JSON
{
  "hex": "#9f245a",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 90
  },
  "hsl": {
    "h": 333.659,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47576,
    "c": 0.1639,
    "h": 359.2
  },
  "luminance": 0.09371
}

Semantic roles & 50–950 ramp

primary
#9F245A
secondary
#5EC195
accent
#E69E42
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F245A

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

Preview Lab → · Contrast checker → · Palette generator →

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