#9E247F#9E247F

#9E247F is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.9% C 0.182 H 340.5°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9E247F
RGBrgb(158, 36, 127)
HSLhsl(315, 63%, 38%)
HSVhsv(315, 77%, 62%)
CMYKcmyk(0%, 77.2%, 19.6%, 38%)
CIE-LABlab(37.96, 57.51, -22.59)
CIE-LCHlch(37.96, 61.79, 338.55°)
OKLaboklab(48.94% 0.172 -0.061)
OKLCHoklch(48.94% 0.182 340.5)
XYZxyz(18.5628, 10.0650, 21.0397)
Luminance0.1006 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E247F #249E43
analogous
#80249E #9E247F #9E2442
triadic
#9E247F #7F9E24 #247F9E
tetradic
#9E247F #9E8024 #249E43 #24429E
square
#9E247F #9E8024 #249E43 #24429E
split-complementary
#9E247F #429E24 #249E80
monochromatic
#3A0D2F #6C1957 #9E247F #D02FA7 #DB61BC

Accessibility & contrast

On white

6.97
#9E247F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9E247F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E247F
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E247F#FFFFFF#000000##FFFFFF
##9E247F1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4D81
Deuteranopia (green-blind)
#56607C
Tritanopia (blue-blind)
#A8284F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e247f;
/* rgb */ color: rgb(158, 36, 127);
/* oklch */ color: oklch(48.9% 0.182 340.5);
Tailwind
colors: {
  custom: {
    50: '#bf6ca4',
    500: '#9e247f',
    950: '#000000',
  },
}
SCSS
$custom: #9e247f;
$custom-light: #bf6ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e247f",
  "rgb": {
    "r": 158,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 315.246,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48938,
    "c": 0.18245,
    "h": 340.5
  },
  "luminance": 0.10063
}

Semantic roles & 50–950 ramp

primary
#9E247F
secondary
#5EC077
accent
#E66C42
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9E247F

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

Preview Lab → · Contrast checker → · Palette generator →

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