#9E247B#9E247B

#9E247B is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.7% C 0.180 H 342.3°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9E247B
RGBrgb(158, 36, 123)
HSLhsl(317, 63%, 38%)
HSVhsv(317, 77%, 62%)
CMYKcmyk(0%, 77.2%, 22.2%, 38%)
CIE-LABlab(37.78, 56.96, -20.39)
CIE-LCHlch(37.78, 60.50, 340.31°)
OKLaboklab(48.75% 0.1714 -0.0547)
OKLCHoklch(48.75% 0.18 342.3)
XYZxyz(18.3072, 9.9628, 19.6939)
Luminance0.0996 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E247B #249E47
analogous
#84249E #9E247B #9E243E
triadic
#9E247B #7B9E24 #247B9E
tetradic
#9E247B #9E8424 #249E47 #243E9E
square
#9E247B #9E8424 #249E47 #243E9E
split-complementary
#9E247B #3E9E24 #249E84
monochromatic
#3A0D2D #6C1954 #9E247B #D02FA2 #DB61B8

Accessibility & contrast

On white

7.02
#9E247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9E247B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E247B
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E247B#FFFFFF#000000##FFFFFF
##9E247B1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7D
Deuteranopia (green-blind)
#576078
Tritanopia (blue-blind)
#A8254D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e247b;
/* rgb */ color: rgb(158, 36, 123);
/* oklch */ color: oklch(48.7% 0.180 342.3);
Tailwind
colors: {
  custom: {
    50: '#bf6ca1',
    500: '#9e247b',
    950: '#000000',
  },
}
SCSS
$custom: #9e247b;
$custom-light: #bf6ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e247b",
  "rgb": {
    "r": 158,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 317.213,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48746,
    "c": 0.17988,
    "h": 342.3
  },
  "luminance": 0.09961
}

Semantic roles & 50–950 ramp

primary
#9E247B
secondary
#5EC07A
accent
#E67142
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080F
muted
#827A7E

Preview Lab

Preview with #9E247B

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

Preview Lab → · Contrast checker → · Palette generator →

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