#9F236E#9F236E

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

Color values

HEX#9F236E
RGBrgb(159, 35, 110)
HSLhsl(324, 64%, 38%)
HSVhsv(324, 78%, 62%)
CMYKcmyk(0%, 78%, 30.8%, 37.6%)
CIE-LABlab(37.30, 55.86, -12.95)
CIE-LCHlch(37.30, 57.35, 346.95°)
OKLaboklab(48.26% 0.1706 -0.034)
OKLCHoklch(48.26% 0.174 348.7)
XYZxyz(17.7145, 9.7008, 15.6884)
Luminance0.0970 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F236E #239F54
analogous
#92239F #9F236E #9F2330
triadic
#9F236E #6E9F23 #236E9F
tetradic
#9F236E #9F9223 #239F54 #23309F
square
#9F236E #9F9223 #239F54 #23309F
split-complementary
#9F236E #309F23 #239F92
monochromatic
#3B0D29 #6D184B #9F236E #D12E91 #DC60AB

Accessibility & contrast

On white

7.14
#9F236E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F236E
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F236E#FFFFFF#000000##FFFFFF
##9F236E1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f236e;
/* rgb */ color: rgb(159, 35, 110);
/* oklch */ color: oklch(48.3% 0.174 348.7);
Tailwind
colors: {
  custom: {
    50: '#c06b97',
    500: '#9f236e',
    950: '#000000',
  },
}
SCSS
$custom: #9f236e;
$custom-light: #c06b97;
$custom-dark: #000000;
JSON
{
  "hex": "#9f236e",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 110
  },
  "hsl": {
    "h": 323.71,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48255,
    "c": 0.17397,
    "h": 348.7
  },
  "luminance": 0.09699
}

Semantic roles & 50–950 ramp

primary
#9F236E
secondary
#5DC184
accent
#E78241
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9F236E

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

Preview Lab → · Contrast checker → · Palette generator →

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