#9F236A#9F236A

#9F236A is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.172 H 350.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#9F236A
RGBrgb(159, 35, 106)
HSLhsl(326, 64%, 38%)
HSVhsv(326, 78%, 62%)
CMYKcmyk(0%, 78%, 33.3%, 37.6%)
CIE-LABlab(37.14, 55.39, -10.66)
CIE-LCHlch(37.14, 56.41, 349.10°)
OKLaboklab(48.09% 0.1696 -0.0277)
OKLCHoklch(48.09% 0.172 350.7)
XYZxyz(17.5016, 9.6157, 14.5672)
Luminance0.0961 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F236A #239F58
analogous
#96239F #9F236A #9F232C
triadic
#9F236A #6A9F23 #236A9F
tetradic
#9F236A #9F9623 #239F58 #232C9F
square
#9F236A #9F9623 #239F58 #232C9F
split-complementary
#9F236A #2C9F23 #239F96
monochromatic
#3B0D27 #6D1849 #9F236A #D12E8B #DC60A7

Accessibility & contrast

On white

7.18
#9F236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9F236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F236A
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F236A#FFFFFF#000000##FFFFFF
##9F236A1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39496C
Deuteranopia (green-blind)
#5D5F67
Tritanopia (blue-blind)
#AB1944
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f236a;
/* rgb */ color: rgb(159, 35, 106);
/* oklch */ color: oklch(48.1% 0.172 350.7);
Tailwind
colors: {
  custom: {
    50: '#c06b94',
    500: '#9f236a',
    950: '#000000',
  },
}
SCSS
$custom: #9f236a;
$custom-light: #c06b94;
$custom-dark: #000000;
JSON
{
  "hex": "#9f236a",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 325.645,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48089,
    "c": 0.17189,
    "h": 350.7
  },
  "luminance": 0.09614
}

Semantic roles & 50–950 ramp

primary
#9F236A
secondary
#5DC188
accent
#E78841
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9F236A

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

Preview Lab → · Contrast checker → · Palette generator →

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