#9B247B#9B247B

#9B247B is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.178 H 341.2°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#9B247B
RGBrgb(155, 36, 123)
HSLhsl(316, 62%, 37%)
HSVhsv(316, 77%, 61%)
CMYKcmyk(0%, 76.8%, 20.6%, 39.2%)
CIE-LABlab(37.23, 56.22, -21.28)
CIE-LCHlch(37.23, 60.11, 339.27°)
OKLaboklab(48.25% 0.1685 -0.0573)
OKLCHoklch(48.25% 0.178 341.2)
XYZxyz(17.7242, 9.6622, 19.6666)
Luminance0.0966 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B247B #249B44
analogous
#7F249B #9B247B #9B2440
triadic
#9B247B #7B9B24 #247B9B
tetradic
#9B247B #9B7F24 #249B44 #24409B
square
#9B247B #9B7F24 #249B44 #24409B
split-complementary
#9B247B #409B24 #249B7F
monochromatic
#380D2C #691854 #9B247B #CD30A2 #DA5FB9

Accessibility & contrast

On white

7.16
#9B247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9B247B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B247B
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B247B#FFFFFF#000000##FFFFFF
##9B247B1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4B7D
Deuteranopia (green-blind)
#555E78
Tritanopia (blue-blind)
#A5274D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b247b;
/* rgb */ color: rgb(155, 36, 123);
/* oklch */ color: oklch(48.2% 0.178 341.2);
Tailwind
colors: {
  custom: {
    50: '#bc6ca1',
    500: '#9b247b',
    950: '#000000',
  },
}
SCSS
$custom: #9b247b;
$custom-light: #bc6ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b247b",
  "rgb": {
    "r": 155,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 316.134,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48249,
    "c": 0.17796,
    "h": 341.2
  },
  "luminance": 0.0966
}

Semantic roles & 50–950 ramp

primary
#9B247B
secondary
#5CBF77
accent
#E56E42
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12080F
muted
#817B7E

Preview Lab

Preview with #9B247B

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

Preview Lab → · Contrast checker → · Palette generator →

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