#9E295C#9E295C

#9E295C is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.9% C 0.158 H 358.6°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#9E295C
RGBrgb(158, 41, 92)
HSLhsl(334, 59%, 39%)
HSVhsv(334, 74%, 62%)
CMYKcmyk(0%, 74.1%, 41.8%, 38%)
CIE-LABlab(37.17, 51.57, -1.75)
CIE-LCHlch(37.17, 51.60, 358.06°)
OKLaboklab(47.91% 0.1583 -0.004)
OKLCHoklch(47.91% 0.158 358.6)
XYZxyz(16.8265, 9.6298, 11.0958)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E295C #299E6B
analogous
#9E2997 #9E295C #9E3129
triadic
#9E295C #5C9E29 #295C9E
tetradic
#9E295C #979E29 #299E6B #31299E
square
#9E295C #979E29 #299E6B #31299E
split-complementary
#9E295C #299E31 #29979E
monochromatic
#3D1023 #6D1C40 #9E295C #CC3979 #D8699A

Accessibility & contrast

On white

7.18
#9E295C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9E295C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E295C
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E295C#FFFFFF#000000##FFFFFF
##9E295C1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41495D
Deuteranopia (green-blind)
#616059
Tritanopia (blue-blind)
#AB193F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e295c;
/* rgb */ color: rgb(158, 41, 92);
/* oklch */ color: oklch(47.9% 0.158 358.6);
Tailwind
colors: {
  custom: {
    50: '#bf6d8a',
    500: '#9e295c',
    950: '#000000',
  },
}
SCSS
$custom: #9e295c;
$custom-light: #bf6d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e295c",
  "rgb": {
    "r": 158,
    "g": 41,
    "b": 92
  },
  "hsl": {
    "h": 333.846,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47913,
    "c": 0.15832,
    "h": 358.6
  },
  "luminance": 0.09628
}

Semantic roles & 50–950 ramp

primary
#9E295C
secondary
#64BF97
accent
#E29E46
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9E295C

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

Preview Lab → · Contrast checker → · Palette generator →

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