#9F236B#9F236B

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

Color values

HEX#9F236B
RGBrgb(159, 35, 107)
HSLhsl(325, 64%, 38%)
HSVhsv(325, 78%, 62%)
CMYKcmyk(0%, 78%, 32.7%, 37.6%)
CIE-LABlab(37.18, 55.51, -11.24)
CIE-LCHlch(37.18, 56.63, 348.55°)
OKLaboklab(48.13% 0.1699 -0.0293)
OKLCHoklch(48.13% 0.172 350.2)
XYZxyz(17.5539, 9.6366, 14.8427)
Luminance0.0964 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F236B #239F57
analogous
#95239F #9F236B #9F232D
triadic
#9F236B #6B9F23 #236B9F
tetradic
#9F236B #9F9523 #239F57 #232D9F
square
#9F236B #9F9523 #239F57 #232D9F
split-complementary
#9F236B #2D9F23 #239F95
monochromatic
#3B0D27 #6D1849 #9F236B #D12E8D #DC60A8

Accessibility & contrast

On white

7.17
#9F236B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9F236B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F236B
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F236B#FFFFFF#000000##FFFFFF
##9F236B1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39496D
Deuteranopia (green-blind)
#5D5F68
Tritanopia (blue-blind)
#AB1A44
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f236b;
/* rgb */ color: rgb(159, 35, 107);
/* oklch */ color: oklch(48.1% 0.172 350.2);
Tailwind
colors: {
  custom: {
    50: '#c06b95',
    500: '#9f236b',
    950: '#000000',
  },
}
SCSS
$custom: #9f236b;
$custom-light: #c06b95;
$custom-dark: #000000;
JSON
{
  "hex": "#9f236b",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 107
  },
  "hsl": {
    "h": 325.161,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4813,
    "c": 0.1724,
    "h": 350.2
  },
  "luminance": 0.09635
}

Semantic roles & 50–950 ramp

primary
#9F236B
secondary
#5DC187
accent
#E78741
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9F236B

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

Preview Lab → · Contrast checker → · Palette generator →

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