#9B247F#9B247F

#9B247F is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.4% C 0.181 H 339.4°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#9B247F
RGBrgb(155, 36, 127)
HSLhsl(314, 62%, 37%)
HSVhsv(314, 77%, 61%)
CMYKcmyk(0%, 76.8%, 18.1%, 39.2%)
CIE-LABlab(37.42, 56.78, -23.48)
CIE-LCHlch(37.42, 61.44, 337.53°)
OKLaboklab(48.45% 0.1691 -0.0635)
OKLCHoklch(48.45% 0.181 339.4)
XYZxyz(17.9797, 9.7644, 21.0124)
Luminance0.0976 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B247F #249B40
analogous
#7C249B #9B247F #9B2443
triadic
#9B247F #7F9B24 #247F9B
tetradic
#9B247F #9B7C24 #249B40 #24439B
square
#9B247F #9B7C24 #249B40 #24439B
split-complementary
#9B247F #439B24 #249B7C
monochromatic
#380D2E #691856 #9B247F #CD30A8 #DA5FBD

Accessibility & contrast

On white

7.11
#9B247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9B247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B247F
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B247F#FFFFFF#000000##FFFFFF
##9B247F1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4C81
Deuteranopia (green-blind)
#535F7C
Tritanopia (blue-blind)
#A4294F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b247f;
/* rgb */ color: rgb(155, 36, 127);
/* oklch */ color: oklch(48.4% 0.181 339.4);
Tailwind
colors: {
  custom: {
    50: '#bc6ca4',
    500: '#9b247f',
    950: '#000000',
  },
}
SCSS
$custom: #9b247f;
$custom-light: #bc6ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b247f",
  "rgb": {
    "r": 155,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 314.118,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48445,
    "c": 0.1806,
    "h": 339.4
  },
  "luminance": 0.09763
}

Semantic roles & 50–950 ramp

primary
#9B247F
secondary
#5CBF73
accent
#E56942
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B247F

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

Preview Lab → · Contrast checker → · Palette generator →

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