#9E247C#9E247C

#9E247C is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.8% C 0.181 H 341.8°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#9E247C
RGBrgb(158, 36, 124)
HSLhsl(317, 63%, 38%)
HSVhsv(317, 77%, 62%)
CMYKcmyk(0%, 77.2%, 21.5%, 38%)
CIE-LABlab(37.82, 57.10, -20.94)
CIE-LCHlch(37.82, 60.82, 339.86°)
OKLaboklab(48.79% 0.1715 -0.0563)
OKLCHoklch(48.79% 0.181 341.8)
XYZxyz(18.3701, 9.9880, 20.0253)
Luminance0.0999 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E247C #249E46
analogous
#83249E #9E247C #9E243F
triadic
#9E247C #7C9E24 #247C9E
tetradic
#9E247C #9E8324 #249E46 #243F9E
square
#9E247C #9E8324 #249E46 #243F9E
split-complementary
#9E247C #3F9E24 #249E83
monochromatic
#3A0D2E #6C1955 #9E247C #D02FA3 #DB61B9

Accessibility & contrast

On white

7.01
#9E247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9E247C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E247C
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E247C#FFFFFF#000000##FFFFFF
##9E247C1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7E
Deuteranopia (green-blind)
#576079
Tritanopia (blue-blind)
#A8264D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e247c;
/* rgb */ color: rgb(158, 36, 124);
/* oklch */ color: oklch(48.8% 0.181 341.8);
Tailwind
colors: {
  custom: {
    50: '#bf6ca2',
    500: '#9e247c',
    950: '#000000',
  },
}
SCSS
$custom: #9e247c;
$custom-light: #bf6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e247c",
  "rgb": {
    "r": 158,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 316.721,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48793,
    "c": 0.18051,
    "h": 341.8
  },
  "luminance": 0.09986
}

Semantic roles & 50–950 ramp

primary
#9E247C
secondary
#5EC079
accent
#E67042
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9E247C

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

Preview Lab → · Contrast checker → · Palette generator →

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