#9F236F#9F236F

#9F236F is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.3% C 0.175 H 348.2°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#9F236F
RGBrgb(159, 35, 111)
HSLhsl(323, 64%, 38%)
HSVhsv(323, 78%, 62%)
CMYKcmyk(0%, 78%, 30.2%, 37.6%)
CIE-LABlab(37.34, 55.99, -13.52)
CIE-LCHlch(37.34, 57.60, 346.42°)
OKLaboklab(48.3% 0.1709 -0.0356)
OKLCHoklch(48.3% 0.175 348.2)
XYZxyz(17.7693, 9.7227, 15.9768)
Luminance0.0972 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F236F #239F53
analogous
#91239F #9F236F #9F2331
triadic
#9F236F #6F9F23 #236F9F
tetradic
#9F236F #9F9123 #239F53 #23319F
square
#9F236F #9F9123 #239F53 #23319F
split-complementary
#9F236F #319F23 #239F91
monochromatic
#3B0D29 #6D184C #9F236F #D12E92 #DC60AC

Accessibility & contrast

On white

7.13
#9F236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F236F
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F236F#FFFFFF#000000##FFFFFF
##9F236F1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374A71
Deuteranopia (green-blind)
#5B606C
Tritanopia (blue-blind)
#AB1C46
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f236f;
/* rgb */ color: rgb(159, 35, 111);
/* oklch */ color: oklch(48.3% 0.175 348.2);
Tailwind
colors: {
  custom: {
    50: '#c06b98',
    500: '#9f236f',
    950: '#000000',
  },
}
SCSS
$custom: #9f236f;
$custom-light: #c06b98;
$custom-dark: #000000;
JSON
{
  "hex": "#9f236f",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 323.226,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48297,
    "c": 0.17452,
    "h": 348.2
  },
  "luminance": 0.09721
}

Semantic roles & 50–950 ramp

primary
#9F236F
secondary
#5DC184
accent
#E78141
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9F236F

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

Preview Lab → · Contrast checker → · Palette generator →

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