#9B247E#9B247E

#9B247E is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.4% C 0.180 H 339.9°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#9B247E
RGBrgb(155, 36, 126)
HSLhsl(315, 62%, 37%)
HSVhsv(315, 77%, 61%)
CMYKcmyk(0%, 76.8%, 18.7%, 39.2%)
CIE-LABlab(37.37, 56.64, -22.93)
CIE-LCHlch(37.37, 61.11, 337.96°)
OKLaboklab(48.4% 0.1689 -0.062)
OKLCHoklch(48.4% 0.18 339.9)
XYZxyz(17.9148, 9.7385, 20.6708)
Luminance0.0974 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B247E #249B41
analogous
#7D249B #9B247E #9B2442
triadic
#9B247E #7E9B24 #247E9B
tetradic
#9B247E #9B7D24 #249B41 #24429B
square
#9B247E #9B7D24 #249B41 #24429B
split-complementary
#9B247E #429B24 #249B7D
monochromatic
#380D2D #691856 #9B247E #CD30A6 #DA5FBC

Accessibility & contrast

On white

7.12
#9B247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B247E
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B247E#FFFFFF#000000##FFFFFF
##9B247E1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4C80
Deuteranopia (green-blind)
#545F7B
Tritanopia (blue-blind)
#A4284E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b247e;
/* rgb */ color: rgb(155, 36, 126);
/* oklch */ color: oklch(48.4% 0.180 339.9);
Tailwind
colors: {
  custom: {
    50: '#bc6ca3',
    500: '#9b247e',
    950: '#000000',
  },
}
SCSS
$custom: #9b247e;
$custom-light: #bc6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b247e",
  "rgb": {
    "r": 155,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 314.622,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48395,
    "c": 0.17994,
    "h": 339.9
  },
  "luminance": 0.09737
}

Semantic roles & 50–950 ramp

primary
#9B247E
secondary
#5CBF74
accent
#E56A42
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B247E

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

Preview Lab → · Contrast checker → · Palette generator →

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