#9F236D#9F236D

#9F236D is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.173 H 349.2°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#9F236D
RGBrgb(159, 35, 109)
HSLhsl(324, 64%, 38%)
HSVhsv(324, 78%, 62%)
CMYKcmyk(0%, 78%, 31.4%, 37.6%)
CIE-LABlab(37.26, 55.74, -12.38)
CIE-LCHlch(37.26, 57.10, 347.48°)
OKLaboklab(48.21% 0.1704 -0.0324)
OKLCHoklch(48.21% 0.173 349.2)
XYZxyz(17.6604, 9.6792, 15.4033)
Luminance0.0968 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F236D #239F55
analogous
#93239F #9F236D #9F232F
triadic
#9F236D #6D9F23 #236D9F
tetradic
#9F236D #9F9323 #239F55 #232F9F
square
#9F236D #9F9323 #239F55 #232F9F
split-complementary
#9F236D #2F9F23 #239F93
monochromatic
#3B0D28 #6D184B #9F236D #D12E8F #DC60AA

Accessibility & contrast

On white

7.15
#9F236D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9F236D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F236D
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F236D#FFFFFF#000000##FFFFFF
##9F236D1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384A6F
Deuteranopia (green-blind)
#5C5F6A
Tritanopia (blue-blind)
#AB1B45
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f236d;
/* rgb */ color: rgb(159, 35, 109);
/* oklch */ color: oklch(48.2% 0.173 349.2);
Tailwind
colors: {
  custom: {
    50: '#c06b97',
    500: '#9f236d',
    950: '#000000',
  },
}
SCSS
$custom: #9f236d;
$custom-light: #c06b97;
$custom-dark: #000000;
JSON
{
  "hex": "#9f236d",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 109
  },
  "hsl": {
    "h": 324.194,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48213,
    "c": 0.17345,
    "h": 349.2
  },
  "luminance": 0.09677
}

Semantic roles & 50–950 ramp

primary
#9F236D
secondary
#5DC185
accent
#E78441
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9F236D

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

Preview Lab → · Contrast checker → · Palette generator →

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