#9B2048#9B2048

#9B2048 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.159 H 7.3°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#9B2048
RGBrgb(155, 32, 72)
HSLhsl(340, 66%, 37%)
HSVhsv(340, 79%, 61%)
CMYKcmyk(0%, 79.4%, 53.5%, 39.2%)
CIE-LABlab(34.95, 51.83, 7.86)
CIE-LCHlch(34.95, 52.42, 8.62°)
OKLaboklab(45.98% 0.158 0.0202)
OKLCHoklch(45.98% 0.159 7.3)
XYZxyz(15.2052, 8.4716, 6.9642)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2048 #209B73
analogous
#9B2086 #9B2048 #9B3620
triadic
#9B2048 #489B20 #20489B
tetradic
#9B2048 #869B20 #209B73 #36209B
square
#9B2048 #869B20 #209B73 #36209B
split-complementary
#9B2048 #209B36 #20869B
monochromatic
#360B19 #681630 #9B2048 #CE2A60 #DD5984

Accessibility & contrast

On white

7.80
#9B2048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9B2048 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2048
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2048#FFFFFF#000000##FFFFFF
##9B20481.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404349
Deuteranopia (green-blind)
#605B45
Tritanopia (blue-blind)
#A90031
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9b2048;
/* rgb */ color: rgb(155, 32, 72);
/* oklch */ color: oklch(46.0% 0.159 7.3);
Tailwind
colors: {
  custom: {
    50: '#bf687a',
    500: '#9b2048',
    950: '#000000',
  },
}
SCSS
$custom: #9b2048;
$custom-light: #bf687a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2048",
  "rgb": {
    "r": 155,
    "g": 32,
    "b": 72
  },
  "hsl": {
    "h": 340.488,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4598,
    "c": 0.15932,
    "h": 7.3
  },
  "luminance": 0.08469
}

Semantic roles & 50–950 ramp

primary
#9B2048
secondary
#56C19E
accent
#E9B23F
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9B2048

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

Preview Lab → · Contrast checker → · Palette generator →

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