#9E254C#9E254C

#9E254C is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.0% C 0.158 H 6.7°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#9E254C
RGBrgb(158, 37, 76)
HSLhsl(341, 62%, 38%)
HSVhsv(341, 77%, 62%)
CMYKcmyk(0%, 76.6%, 51.9%, 38%)
CIE-LABlab(36.21, 51.44, 7.13)
CIE-LCHlch(36.21, 51.93, 7.89°)
OKLaboklab(47.05% 0.1569 0.0185)
OKLCHoklch(47.05% 0.158 6.7)
XYZxyz(16.0681, 9.1163, 7.7496)
Luminance0.0911 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E254C #259E77
analogous
#9E2588 #9E254C #9E3A25
triadic
#9E254C #4C9E25 #254C9E
tetradic
#9E254C #889E25 #259E77 #3A259E
square
#9E254C #889E25 #259E77 #3A259E
split-complementary
#9E254C #259E3A #25889E
monochromatic
#3B0E1C #6C1934 #9E254C #CF3164 #DA6389

Accessibility & contrast

On white

7.44
#9E254C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#9E254C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E254C
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E254C#FFFFFF#000000##FFFFFF
##9E254C1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43464D
Deuteranopia (green-blind)
#635E49
Tritanopia (blue-blind)
#AC0436
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e254c;
/* rgb */ color: rgb(158, 37, 76);
/* oklch */ color: oklch(47.0% 0.158 6.7);
Tailwind
colors: {
  custom: {
    50: '#c06b7d',
    500: '#9e254c',
    950: '#000000',
  },
}
SCSS
$custom: #9e254c;
$custom-light: #c06b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e254c",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 76
  },
  "hsl": {
    "h": 340.661,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4705,
    "c": 0.15801,
    "h": 6.7
  },
  "luminance": 0.09114
}

Semantic roles & 50–950 ramp

primary
#9E254C
secondary
#5FC0A1
accent
#E5B143
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9E254C

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

Preview Lab → · Contrast checker → · Palette generator →

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