#9F237E#9F237E

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

Color values

HEX#9F237E
RGBrgb(159, 35, 126)
HSLhsl(316, 64%, 38%)
HSVhsv(316, 78%, 62%)
CMYKcmyk(0%, 78%, 20.8%, 37.6%)
CIE-LABlab(37.99, 57.92, -21.91)
CIE-LCHlch(37.99, 61.93, 339.28°)
OKLaboklab(48.98% 0.1737 -0.059)
OKLCHoklch(48.98% 0.183 341.2)
XYZxyz(18.6656, 10.0813, 20.6975)
Luminance0.1008 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F237E #239F44
analogous
#82239F #9F237E #9F2340
triadic
#9F237E #7E9F23 #237E9F
tetradic
#9F237E #9F8223 #239F44 #23409F
square
#9F237E #9F8223 #239F44 #23409F
split-complementary
#9F237E #409F23 #239F82
monochromatic
#3B0D2F #6D1856 #9F237E #D12EA6 #DC60BB

Accessibility & contrast

On white

6.96
#9F237E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9F237E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F237E
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F237E#FFFFFF#000000##FFFFFF
##9F237E1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4D80
Deuteranopia (green-blind)
#57617B
Tritanopia (blue-blind)
#A9264E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f237e;
/* rgb */ color: rgb(159, 35, 126);
/* oklch */ color: oklch(49.0% 0.183 341.2);
Tailwind
colors: {
  custom: {
    50: '#bf6ca3',
    500: '#9f237e',
    950: '#000000',
  },
}
SCSS
$custom: #9f237e;
$custom-light: #bf6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f237e",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 315.968,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48978,
    "c": 0.18344,
    "h": 341.2
  },
  "luminance": 0.10079
}

Semantic roles & 50–950 ramp

primary
#9F237E
secondary
#5DC177
accent
#E76D41
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9F237E

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

Preview Lab → · Contrast checker → · Palette generator →

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