#9F237D#9F237D

#9F237D is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.9% C 0.183 H 341.7°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9F237D
RGBrgb(159, 35, 125)
HSLhsl(316, 64%, 38%)
HSVhsv(316, 78%, 62%)
CMYKcmyk(0%, 78%, 21.4%, 37.6%)
CIE-LABlab(37.94, 57.79, -21.36)
CIE-LCHlch(37.94, 61.61, 339.71°)
OKLaboklab(48.93% 0.1735 -0.0575)
OKLCHoklch(48.93% 0.183 341.7)
XYZxyz(18.6014, 10.0556, 20.3594)
Luminance0.1005 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F237D #239F45
analogous
#83239F #9F237D #9F233F
triadic
#9F237D #7D9F23 #237D9F
tetradic
#9F237D #9F8323 #239F45 #233F9F
square
#9F237D #9F8323 #239F45 #233F9F
split-complementary
#9F237D #3F9F23 #239F83
monochromatic
#3B0D2E #6D1856 #9F237D #D12EA4 #DC60BA

Accessibility & contrast

On white

6.97
#9F237D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9F237D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F237D
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F237D#FFFFFF#000000##FFFFFF
##9F237D1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D7F
Deuteranopia (green-blind)
#57607A
Tritanopia (blue-blind)
#A9254E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f237d;
/* rgb */ color: rgb(159, 35, 125);
/* oklch */ color: oklch(48.9% 0.183 341.7);
Tailwind
colors: {
  custom: {
    50: '#bf6ca3',
    500: '#9f237d',
    950: '#000000',
  },
}
SCSS
$custom: #9f237d;
$custom-light: #bf6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f237d",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 125
  },
  "hsl": {
    "h": 316.452,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4893,
    "c": 0.18281,
    "h": 341.7
  },
  "luminance": 0.10054
}

Semantic roles & 50–950 ramp

primary
#9F237D
secondary
#5DC178
accent
#E76E41
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9F237D

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

Preview Lab → · Contrast checker → · Palette generator →

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