#9F237B#9F237B

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

Color values

HEX#9F237B
RGBrgb(159, 35, 123)
HSLhsl(317, 64%, 38%)
HSVhsv(317, 78%, 62%)
CMYKcmyk(0%, 78%, 22.6%, 37.6%)
CIE-LABlab(37.85, 57.52, -20.26)
CIE-LCHlch(37.85, 60.98, 340.60°)
OKLaboklab(48.84% 0.1732 -0.0543)
OKLCHoklch(48.84% 0.182 342.6)
XYZxyz(18.4749, 10.0050, 19.6933)
Luminance0.1000 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F237B #239F47
analogous
#85239F #9F237B #9F233D
triadic
#9F237B #7B9F23 #237B9F
tetradic
#9F237B #9F8523 #239F47 #233D9F
square
#9F237B #9F8523 #239F47 #233D9F
split-complementary
#9F237B #3D9F23 #239F85
monochromatic
#3B0D2D #6D1854 #9F237B #D12EA2 #DC60B8

Accessibility & contrast

On white

7.00
#9F237B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F237B
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F237B#FFFFFF#000000##FFFFFF
##9F237B1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7D
Deuteranopia (green-blind)
#586078
Tritanopia (blue-blind)
#A9244D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f237b;
/* rgb */ color: rgb(159, 35, 123);
/* oklch */ color: oklch(48.8% 0.182 342.6);
Tailwind
colors: {
  custom: {
    50: '#bf6ca1',
    500: '#9f237b',
    950: '#000000',
  },
}
SCSS
$custom: #9f237b;
$custom-light: #bf6ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f237b",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 317.419,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48835,
    "c": 0.18154,
    "h": 342.6
  },
  "luminance": 0.10003
}

Semantic roles & 50–950 ramp

primary
#9F237B
secondary
#5DC17A
accent
#E77141
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080F
muted
#827A7E

Preview Lab

Preview with #9F237B

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

Preview Lab → · Contrast checker → · Palette generator →

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