#9E254E#9E254E

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

Color values

HEX#9E254E
RGBrgb(158, 37, 78)
HSLhsl(340, 62%, 38%)
HSVhsv(340, 77%, 62%)
CMYKcmyk(0%, 76.6%, 50.6%, 38%)
CIE-LABlab(36.26, 51.61, 5.92)
CIE-LCHlch(36.26, 51.95, 6.54°)
OKLaboklab(47.11% 0.1577 0.0155)
OKLCHoklch(47.11% 0.158 5.6)
XYZxyz(16.1387, 9.1445, 8.1215)
Luminance0.0914 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E254E #259E75
analogous
#9E258A #9E254E #9E3825
triadic
#9E254E #4E9E25 #254E9E
tetradic
#9E254E #8A9E25 #259E75 #38259E
square
#9E254E #8A9E25 #259E75 #38259E
split-complementary
#9E254E #259E38 #258A9E
monochromatic
#3B0E1D #6C1936 #9E254E #CF3167 #DA638B

Accessibility & contrast

On white

7.42
#9E254E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E254E
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E254E#FFFFFF#000000##FFFFFF
##9E254E1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43464F
Deuteranopia (green-blind)
#635E4B
Tritanopia (blue-blind)
#AC0537
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e254e;
/* rgb */ color: rgb(158, 37, 78);
/* oklch */ color: oklch(47.1% 0.158 5.6);
Tailwind
colors: {
  custom: {
    50: '#c06b7f',
    500: '#9e254e',
    950: '#000000',
  },
}
SCSS
$custom: #9e254e;
$custom-light: #c06b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e254e",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 78
  },
  "hsl": {
    "h": 339.669,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47107,
    "c": 0.15845,
    "h": 5.6
  },
  "luminance": 0.09142
}

Semantic roles & 50–950 ramp

primary
#9E254E
secondary
#5FC09F
accent
#E5AE43
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E254E

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

Preview Lab → · Contrast checker → · Palette generator →

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