#9B2072#9B2072

#9B2072 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.5% C 0.177 H 345.2°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#9B2072
RGBrgb(155, 32, 114)
HSLhsl(320, 66%, 37%)
HSVhsv(320, 79%, 61%)
CMYKcmyk(0%, 79.4%, 26.5%, 39.2%)
CIE-LABlab(36.40, 56.24, -16.92)
CIE-LCHlch(36.40, 58.73, 343.26°)
OKLaboklab(47.52% 0.1707 -0.045)
OKLCHoklch(47.52% 0.177 345.2)
XYZxyz(17.0721, 9.2184, 16.7966)
Luminance0.0922 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2072 #209B49
analogous
#87209B #9B2072 #9B2035
triadic
#9B2072 #729B20 #20729B
tetradic
#9B2072 #9B8720 #209B49 #20359B
square
#9B2072 #9B8720 #209B49 #20359B
split-complementary
#9B2072 #359B20 #209B87
monochromatic
#360B27 #68164D #9B2072 #CE2A97 #DD59B1

Accessibility & contrast

On white

7.39
#9B2072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9B2072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2072
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2072#FFFFFF#000000##FFFFFF
##9B20721.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314874
Deuteranopia (green-blind)
#575D6F
Tritanopia (blue-blind)
#A61D47
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b2072;
/* rgb */ color: rgb(155, 32, 114);
/* oklch */ color: oklch(47.5% 0.177 345.2);
Tailwind
colors: {
  custom: {
    50: '#bd6a9a',
    500: '#9b2072',
    950: '#000000',
  },
}
SCSS
$custom: #9b2072;
$custom-light: #bd6a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2072",
  "rgb": {
    "r": 155,
    "g": 32,
    "b": 114
  },
  "hsl": {
    "h": 320,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47518,
    "c": 0.17652,
    "h": 345.2
  },
  "luminance": 0.09216
}

Semantic roles & 50–950 ramp

primary
#9B2072
secondary
#56C17A
accent
#E9783F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9B2072

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

Preview Lab → · Contrast checker → · Palette generator →

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