#9F237F#9F237F

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

Color values

HEX#9F237F
RGBrgb(159, 35, 127)
HSLhsl(315, 64%, 38%)
HSVhsv(315, 78%, 62%)
CMYKcmyk(0%, 78%, 20.1%, 37.6%)
CIE-LABlab(38.03, 58.06, -22.46)
CIE-LCHlch(38.03, 62.25, 338.85°)
OKLaboklab(49.03% 0.1738 -0.0606)
OKLCHoklch(49.03% 0.184 340.8)
XYZxyz(18.7305, 10.1072, 21.0390)
Luminance0.1011 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F237F #239F43
analogous
#81239F #9F237F #9F2341
triadic
#9F237F #7F9F23 #237F9F
tetradic
#9F237F #9F8123 #239F43 #23419F
square
#9F237F #9F8123 #239F43 #23419F
split-complementary
#9F237F #419F23 #239F81
monochromatic
#3B0D2F #6D1857 #9F237F #D12EA7 #DC60BC

Accessibility & contrast

On white

6.95
#9F237F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F237F
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F237F#FFFFFF#000000##FFFFFF
##9F237F1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4D81
Deuteranopia (green-blind)
#56617C
Tritanopia (blue-blind)
#A9264F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f237f;
/* rgb */ color: rgb(159, 35, 127);
/* oklch */ color: oklch(49.0% 0.184 340.8);
Tailwind
colors: {
  custom: {
    50: '#bf6ca4',
    500: '#9f237f',
    950: '#000000',
  },
}
SCSS
$custom: #9f237f;
$custom-light: #bf6ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f237f",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 315.484,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49026,
    "c": 0.18408,
    "h": 340.8
  },
  "luminance": 0.10105
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F237F

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

Preview Lab → · Contrast checker → · Palette generator →

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