#9E274F#9E274F

#9E274F is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.3% C 0.157 H 5.5°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#9E274F
RGBrgb(158, 39, 79)
HSLhsl(340, 60%, 39%)
HSVhsv(340, 75%, 62%)
CMYKcmyk(0%, 75.3%, 50%, 38%)
CIE-LABlab(36.53, 51.02, 5.66)
CIE-LCHlch(36.53, 51.33, 6.33°)
OKLaboklab(47.32% 0.1559 0.0149)
OKLCHoklch(47.32% 0.157 5.5)
XYZxyz(16.2387, 9.2869, 8.3331)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E274F #279E76
analogous
#9E278A #9E274F #9E3A27
triadic
#9E274F #4F9E27 #274F9E
tetradic
#9E274F #8A9E27 #279E76 #3A279E
square
#9E274F #8A9E27 #279E76 #3A279E
split-complementary
#9E274F #279E3A #278A9E
monochromatic
#3C0F1E #6D1B36 #9E274F #CD3568 #D9668D

Accessibility & contrast

On white

7.35
#9E274F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9E274F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E274F
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E274F#FFFFFF#000000##FFFFFF
##9E274F1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444750
Deuteranopia (green-blind)
#635E4C
Tritanopia (blue-blind)
#AC0C38
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e274f;
/* rgb */ color: rgb(158, 39, 79);
/* oklch */ color: oklch(47.3% 0.157 5.5);
Tailwind
colors: {
  custom: {
    50: '#c06c80',
    500: '#9e274f',
    950: '#000000',
  },
}
SCSS
$custom: #9e274f;
$custom-light: #c06c80;
$custom-dark: #000000;
JSON
{
  "hex": "#9e274f",
  "rgb": {
    "r": 158,
    "g": 39,
    "b": 79
  },
  "hsl": {
    "h": 339.832,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47315,
    "c": 0.15659,
    "h": 5.5
  },
  "luminance": 0.09285
}

Semantic roles & 50–950 ramp

primary
#9E274F
secondary
#62BFA0
accent
#E4AE44
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E274F

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

Preview Lab → · Contrast checker → · Palette generator →

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