#9E267B#9E267B

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

Color values

HEX#9E267B
RGBrgb(158, 38, 123)
HSLhsl(318, 61%, 38%)
HSVhsv(318, 76%, 62%)
CMYKcmyk(0%, 75.9%, 22.2%, 38%)
CIE-LABlab(38.00, 56.33, -20.05)
CIE-LCHlch(38.00, 59.79, 340.41°)
OKLaboklab(48.91% 0.1694 -0.0538)
OKLCHoklch(48.91% 0.178 342.4)
XYZxyz(18.3695, 10.0873, 19.7147)
Luminance0.1008 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E267B #269E49
analogous
#85269E #9E267B #9E263F
triadic
#9E267B #7B9E26 #267B9E
tetradic
#9E267B #9E8526 #269E49 #263F9E
square
#9E267B #9E8526 #269E49 #263F9E
split-complementary
#9E267B #3F9E26 #269E85
monochromatic
#3B0E2E #6D1A55 #9E267B #CE33A1 #DA65B8

Accessibility & contrast

On white

6.96
#9E267B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9E267B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E267B
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E267B#FFFFFF#000000##FFFFFF
##9E267B1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324D7D
Deuteranopia (green-blind)
#586078
Tritanopia (blue-blind)
#A8274E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e267b;
/* rgb */ color: rgb(158, 38, 123);
/* oklch */ color: oklch(48.9% 0.178 342.4);
Tailwind
colors: {
  custom: {
    50: '#bf6da1',
    500: '#9e267b',
    950: '#000000',
  },
}
SCSS
$custom: #9e267b;
$custom-light: #bf6da1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e267b",
  "rgb": {
    "r": 158,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 317.5,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48907,
    "c": 0.17773,
    "h": 342.4
  },
  "luminance": 0.10085
}

Semantic roles & 50–950 ramp

primary
#9E267B
secondary
#60C07C
accent
#E47243
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080F
muted
#827A7E

Preview Lab

Preview with #9E267B

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

Preview Lab → · Contrast checker → · Palette generator →

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