#9E123B#9E123B

#9E123B is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.3% C 0.171 H 12.6°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#9E123B
RGBrgb(158, 18, 59)
HSLhsl(342, 80%, 35%)
HSVhsv(342, 89%, 62%)
CMYKcmyk(0%, 88.6%, 62.7%, 38%)
CIE-LABlab(34.02, 55.23, 15.16)
CIE-LCHlch(34.02, 57.27, 15.35°)
OKLaboklab(45.31% 0.1665 0.0371)
OKLCHoklch(45.31% 0.171 12.6)
XYZxyz(15.1079, 8.0198, 4.8893)
Luminance0.0802 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E123B #129E75
analogous
#9E1281 #9E123B #9E2F12
triadic
#9E123B #3B9E12 #123B9E
tetradic
#9E123B #819E12 #129E75 #2F129E
square
#9E123B #819E12 #129E75 #2F129E
split-complementary
#9E123B #129E2F #12819E
monochromatic
#300512 #670C26 #9E123B #D51850 #E94172

Accessibility & contrast

On white

8.07
#9E123B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#9E123B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E123B
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E123B#FFFFFF#000000##FFFFFF
##9E123B1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3E3B
Deuteranopia (green-blind)
#615A37
Tritanopia (blue-blind)
#AE0026
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9e123b;
/* rgb */ color: rgb(158, 18, 59);
/* oklch */ color: oklch(45.3% 0.171 12.6);
Tailwind
colors: {
  custom: {
    50: '#c26470',
    500: '#9e123b',
    950: '#000000',
  },
}
SCSS
$custom: #9e123b;
$custom-light: #c26470;
$custom-dark: #000000;
JSON
{
  "hex": "#9e123b",
  "rgb": {
    "r": 158,
    "g": 18,
    "b": 59
  },
  "hsl": {
    "h": 342.429,
    "s": 79.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45309,
    "c": 0.17058,
    "h": 12.6
  },
  "luminance": 0.08017
}

Semantic roles & 50–950 ramp

primary
#9E123B
secondary
#42C9A2
accent
#F6BD32
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140607
muted
#827A7A

Preview Lab

Preview with #9E123B

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

Preview Lab → · Contrast checker → · Palette generator →

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