#9B2E79#9B2E79

#9B2E79 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.1% C 0.165 H 342.8°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9B2E79
RGBrgb(155, 46, 121)
HSLhsl(319, 54%, 39%)
HSVhsv(319, 70%, 61%)
CMYKcmyk(0%, 70.3%, 21.9%, 39.2%)
CIE-LABlab(38.38, 52.43, -18.25)
CIE-LCHlch(38.38, 55.52, 340.81°)
OKLaboklab(49.06% 0.1574 -0.0488)
OKLCHoklch(49.06% 0.165 342.8)
XYZxyz(17.9463, 10.3048, 19.1293)
Luminance0.1030 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2E79 #2E9B50
analogous
#872E9B #9B2E79 #9B2E42
triadic
#9B2E79 #799B2E #2E799B
tetradic
#9B2E79 #9B872E #2E9B50 #2E429B
square
#9B2E79 #9B872E #2E9B50 #2E429B
split-complementary
#9B2E79 #429B2E #2E9B87
monochromatic
#3D122F #6C2054 #9B2E79 #C6409C #D46FB5

Accessibility & contrast

On white

6.86
#9B2E79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B2E79
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2E79#FFFFFF#000000##FFFFFF
##9B2E791.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384F7B
Deuteranopia (green-blind)
#596176
Tritanopia (blue-blind)
#A52F4F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b2e79;
/* rgb */ color: rgb(155, 46, 121);
/* oklch */ color: oklch(49.1% 0.165 342.8);
Tailwind
colors: {
  custom: {
    50: '#bc70a0',
    500: '#9b2e79',
    950: '#000000',
  },
}
SCSS
$custom: #9b2e79;
$custom-light: #bc70a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2e79",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 121
  },
  "hsl": {
    "h": 318.716,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49058,
    "c": 0.16483,
    "h": 342.8
  },
  "luminance": 0.10303
}

Semantic roles & 50–950 ramp

primary
#9B2E79
secondary
#69BC83
accent
#DE784A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9B2E79

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

Preview Lab → · Contrast checker → · Palette generator →

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