#9F245F#9F245F

#9F245F is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.8% C 0.166 H 356.5°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#9F245F
RGBrgb(159, 36, 95)
HSLhsl(331, 63%, 38%)
HSVhsv(331, 77%, 62%)
CMYKcmyk(0%, 77.4%, 40.3%, 37.6%)
CIE-LABlab(36.86, 53.86, -4.10)
CIE-LCHlch(36.86, 54.01, 355.65°)
OKLaboklab(47.75% 0.1655 -0.0101)
OKLCHoklch(47.75% 0.166 356.5)
XYZxyz(16.9957, 9.4611, 11.7554)
Luminance0.0946 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F245F #249F64
analogous
#9F249C #9F245F #9F2724
triadic
#9F245F #5F9F24 #245F9F
tetradic
#9F245F #9C9F24 #249F64 #27249F
square
#9F245F #9C9F24 #249F64 #27249F
split-complementary
#9F245F #249F27 #249C9F
monochromatic
#3B0D23 #6D1941 #9F245F #D0307D #DB629C

Accessibility & contrast

On white

7.26
#9F245F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F245F
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F245F#FFFFFF#000000##FFFFFF
##9F245F1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4860
Deuteranopia (green-blind)
#605F5C
Tritanopia (blue-blind)
#AC123E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f245f;
/* rgb */ color: rgb(159, 36, 95);
/* oklch */ color: oklch(47.8% 0.166 356.5);
Tailwind
colors: {
  custom: {
    50: '#c06b8c',
    500: '#9f245f',
    950: '#000000',
  },
}
SCSS
$custom: #9f245f;
$custom-light: #c06b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f245f",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 95
  },
  "hsl": {
    "h": 331.22,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4775,
    "c": 0.16581,
    "h": 356.5
  },
  "luminance": 0.09459
}

Semantic roles & 50–950 ramp

primary
#9F245F
secondary
#5EC191
accent
#E69742
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9F245F

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

Preview Lab → · Contrast checker → · Palette generator →

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