#9B2045#9B2045

#9B2045 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.159 H 8.9°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#9B2045
RGBrgb(155, 32, 69)
HSLhsl(342, 66%, 37%)
HSVhsv(342, 79%, 61%)
CMYKcmyk(0%, 79.4%, 55.5%, 39.2%)
CIE-LABlab(34.87, 51.59, 9.70)
CIE-LCHlch(34.87, 52.50, 10.64°)
OKLaboklab(45.9% 0.1569 0.0246)
OKLCHoklch(45.9% 0.159 8.9)
XYZxyz(15.1097, 8.4334, 6.4613)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2045 #209B76
analogous
#9B2083 #9B2045 #9B3920
triadic
#9B2045 #459B20 #20459B
tetradic
#9B2045 #839B20 #209B76 #39209B
square
#9B2045 #839B20 #209B76 #39209B
split-complementary
#9B2045 #209B39 #20839B
monochromatic
#360B18 #68162E #9B2045 #CE2A5C #DD5980

Accessibility & contrast

On white

7.82
#9B2045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B2045
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2045#FFFFFF#000000##FFFFFF
##9B20451.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414246
Deuteranopia (green-blind)
#615B42
Tritanopia (blue-blind)
#AA0030
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9b2045;
/* rgb */ color: rgb(155, 32, 69);
/* oklch */ color: oklch(45.9% 0.159 8.9);
Tailwind
colors: {
  custom: {
    50: '#bf6878',
    500: '#9b2045',
    950: '#000000',
  },
}
SCSS
$custom: #9b2045;
$custom-light: #bf6878;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2045",
  "rgb": {
    "r": 155,
    "g": 32,
    "b": 69
  },
  "hsl": {
    "h": 341.951,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45899,
    "c": 0.15879,
    "h": 8.9
  },
  "luminance": 0.08431
}

Semantic roles & 50–950 ramp

primary
#9B2045
secondary
#56C1A1
accent
#E9B63F
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #9B2045

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

Preview Lab → · Contrast checker → · Palette generator →

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