#9F247B#9F247B

#9F247B is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.9% C 0.181 H 342.6°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9F247B
RGBrgb(159, 36, 123)
HSLhsl(318, 63%, 38%)
HSVhsv(318, 77%, 62%)
CMYKcmyk(0%, 77.4%, 22.6%, 37.6%)
CIE-LABlab(37.96, 57.21, -20.09)
CIE-LCHlch(37.96, 60.64, 340.65°)
OKLaboklab(48.91% 0.1723 -0.0539)
OKLCHoklch(48.91% 0.181 342.6)
XYZxyz(18.5048, 10.0647, 19.7032)
Luminance0.1006 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F247B #249F48
analogous
#85249F #9F247B #9F243D
triadic
#9F247B #7B9F24 #247B9F
tetradic
#9F247B #9F8524 #249F48 #243D9F
square
#9F247B #9F8524 #249F48 #243D9F
split-complementary
#9F247B #3D9F24 #249F85
monochromatic
#3B0D2E #6D1954 #9F247B #D030A1 #DB62B8

Accessibility & contrast

On white

6.97
#9F247B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F247B
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F247B#FFFFFF#000000##FFFFFF
##9F247B1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314C7D
Deuteranopia (green-blind)
#586178
Tritanopia (blue-blind)
#A9254D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f247b;
/* rgb */ color: rgb(159, 36, 123);
/* oklch */ color: oklch(48.9% 0.181 342.6);
Tailwind
colors: {
  custom: {
    50: '#bf6ca1',
    500: '#9f247b',
    950: '#000000',
  },
}
SCSS
$custom: #9f247b;
$custom-light: #bf6ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f247b",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 317.561,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48912,
    "c": 0.18052,
    "h": 342.6
  },
  "luminance": 0.10063
}

Semantic roles & 50–950 ramp

primary
#9F247B
secondary
#5EC17B
accent
#E67242
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080F
muted
#827A7E

Preview Lab

Preview with #9F247B

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

Preview Lab → · Contrast checker → · Palette generator →

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