#9F237A#9F237A

#9F237A is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.8% C 0.181 H 343.0°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#9F237A
RGBrgb(159, 35, 122)
HSLhsl(318, 64%, 38%)
HSVhsv(318, 78%, 62%)
CMYKcmyk(0%, 78%, 23.3%, 37.6%)
CIE-LABlab(37.81, 57.38, -19.70)
CIE-LCHlch(37.81, 60.67, 341.05°)
OKLaboklab(48.79% 0.1731 -0.0528)
OKLCHoklch(48.79% 0.181 343)
XYZxyz(18.4127, 9.9801, 19.3653)
Luminance0.0998 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F237A #239F48
analogous
#86239F #9F237A #9F233C
triadic
#9F237A #7A9F23 #237A9F
tetradic
#9F237A #9F8623 #239F48 #233C9F
square
#9F237A #9F8623 #239F48 #233C9F
split-complementary
#9F237A #3C9F23 #239F86
monochromatic
#3B0D2D #6D1854 #9F237A #D12EA0 #DC60B7

Accessibility & contrast

On white

7.01
#9F237A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9F237A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F237A
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F237A#FFFFFF#000000##FFFFFF
##9F237A1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314C7C
Deuteranopia (green-blind)
#586077
Tritanopia (blue-blind)
#A9234C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f237a;
/* rgb */ color: rgb(159, 35, 122);
/* oklch */ color: oklch(48.8% 0.181 343.0);
Tailwind
colors: {
  custom: {
    50: '#bf6ca0',
    500: '#9f237a',
    950: '#000000',
  },
}
SCSS
$custom: #9f237a;
$custom-light: #bf6ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f237a",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 317.903,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48788,
    "c": 0.18093,
    "h": 343
  },
  "luminance": 0.09978
}

Semantic roles & 50–950 ramp

primary
#9F237A
secondary
#5DC17B
accent
#E77241
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9F237A

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

Preview Lab → · Contrast checker → · Palette generator →

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