#9E254D#9E254D

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

Color values

HEX#9E254D
RGBrgb(158, 37, 77)
HSLhsl(340, 62%, 38%)
HSVhsv(340, 77%, 62%)
CMYKcmyk(0%, 76.6%, 51.3%, 38%)
CIE-LABlab(36.23, 51.52, 6.52)
CIE-LCHlch(36.23, 51.93, 7.21°)
OKLaboklab(47.08% 0.1573 0.017)
OKLCHoklch(47.08% 0.158 6.2)
XYZxyz(16.1031, 9.1303, 7.9341)
Luminance0.0913 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E254D #259E76
analogous
#9E2589 #9E254D #9E3925
triadic
#9E254D #4D9E25 #254D9E
tetradic
#9E254D #899E25 #259E76 #39259E
square
#9E254D #899E25 #259E76 #39259E
split-complementary
#9E254D #259E39 #25899E
monochromatic
#3B0E1D #6C1935 #9E254D #CF3165 #DA638A

Accessibility & contrast

On white

7.43
#9E254D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#9E254D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E254D
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E254D#FFFFFF#000000##FFFFFF
##9E254D1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e254d;
/* rgb */ color: rgb(158, 37, 77);
/* oklch */ color: oklch(47.1% 0.158 6.2);
Tailwind
colors: {
  custom: {
    50: '#c06b7e',
    500: '#9e254d',
    950: '#000000',
  },
}
SCSS
$custom: #9e254d;
$custom-light: #c06b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e254d",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 77
  },
  "hsl": {
    "h": 340.165,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47078,
    "c": 0.15823,
    "h": 6.2
  },
  "luminance": 0.09128
}

Semantic roles & 50–950 ramp

primary
#9E254D
secondary
#5FC0A0
accent
#E5AF43
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9E254D

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

Preview Lab → · Contrast checker → · Palette generator →

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