#9B2E78#9B2E78

#9B2E78 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.0% C 0.164 H 343.3°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9B2E78
RGBrgb(155, 46, 120)
HSLhsl(319, 54%, 39%)
HSVhsv(319, 70%, 61%)
CMYKcmyk(0%, 70.3%, 22.6%, 39.2%)
CIE-LABlab(38.34, 52.29, -17.69)
CIE-LCHlch(38.34, 55.20, 341.31°)
OKLaboklab(49.01% 0.1572 -0.0473)
OKLCHoklch(49.01% 0.164 343.3)
XYZxyz(17.8853, 10.2804, 18.8081)
Luminance0.1028 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2E78 #2E9B51
analogous
#882E9B #9B2E78 #9B2E42
triadic
#9B2E78 #789B2E #2E789B
tetradic
#9B2E78 #9B882E #2E9B51 #2E429B
square
#9B2E78 #9B882E #2E9B51 #2E429B
split-complementary
#9B2E78 #429B2E #2E9B88
monochromatic
#3D122F #6C2053 #9B2E78 #C6409B #D46FB4

Accessibility & contrast

On white

6.87
#9B2E78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9B2E78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2E78
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2E78#FFFFFF#000000##FFFFFF
##9B2E781.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384F7A
Deuteranopia (green-blind)
#5A6175
Tritanopia (blue-blind)
#A52E4F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b2e78;
/* rgb */ color: rgb(155, 46, 120);
/* oklch */ color: oklch(49.0% 0.164 343.3);
Tailwind
colors: {
  custom: {
    50: '#bc709f',
    500: '#9b2e78',
    950: '#000000',
  },
}
SCSS
$custom: #9b2e78;
$custom-light: #bc709f;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2e78",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 120
  },
  "hsl": {
    "h": 319.266,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49013,
    "c": 0.16418,
    "h": 343.3
  },
  "luminance": 0.10279
}

Semantic roles & 50–950 ramp

primary
#9B2E78
secondary
#69BC84
accent
#DE7A4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9B2E78

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

Preview Lab → · Contrast checker → · Palette generator →

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