#9F237C#9F237C

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

Color values

HEX#9F237C
RGBrgb(159, 35, 124)
HSLhsl(317, 64%, 38%)
HSVhsv(317, 78%, 62%)
CMYKcmyk(0%, 78%, 22%, 37.6%)
CIE-LABlab(37.90, 57.65, -20.81)
CIE-LCHlch(37.90, 61.29, 340.15°)
OKLaboklab(48.88% 0.1734 -0.0559)
OKLCHoklch(48.88% 0.182 342.1)
XYZxyz(18.5379, 10.0302, 20.0246)
Luminance0.1003 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F237C #239F46
analogous
#84239F #9F237C #9F233E
triadic
#9F237C #7C9F23 #237C9F
tetradic
#9F237C #9F8423 #239F46 #233E9F
square
#9F237C #9F8423 #239F46 #233E9F
split-complementary
#9F237C #3E9F23 #239F84
monochromatic
#3B0D2E #6D1855 #9F237C #D12EA3 #DC60B9

Accessibility & contrast

On white

6.99
#9F237C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F237C
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F237C#FFFFFF#000000##FFFFFF
##9F237C1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7E
Deuteranopia (green-blind)
#576079
Tritanopia (blue-blind)
#A9254D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f237c;
/* rgb */ color: rgb(159, 35, 124);
/* oklch */ color: oklch(48.9% 0.182 342.1);
Tailwind
colors: {
  custom: {
    50: '#bf6ca2',
    500: '#9f237c',
    950: '#000000',
  },
}
SCSS
$custom: #9f237c;
$custom-light: #bf6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f237c",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 316.935,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48882,
    "c": 0.18217,
    "h": 342.1
  },
  "luminance": 0.10028
}

Semantic roles & 50–950 ramp

primary
#9F237C
secondary
#5DC179
accent
#E77041
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9F237C

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

Preview Lab → · Contrast checker → · Palette generator →

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