#9B2145#9B2145

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

Color values

HEX#9B2145
RGBrgb(155, 33, 69)
HSLhsl(342, 65%, 37%)
HSVhsv(342, 79%, 61%)
CMYKcmyk(0%, 78.7%, 55.5%, 39.2%)
CIE-LABlab(34.98, 51.28, 9.85)
CIE-LCHlch(34.98, 52.22, 10.87°)
OKLaboklab(45.98% 0.1559 0.025)
OKLCHoklch(45.98% 0.158 9.1)
XYZxyz(15.1370, 8.4881, 6.4704)
Luminance0.0849 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2145 #219B77
analogous
#9B2182 #9B2145 #9B3A21
triadic
#9B2145 #459B21 #21459B
tetradic
#9B2145 #829B21 #219B77 #3A219B
square
#9B2145 #829B21 #219B77 #3A219B
split-complementary
#9B2145 #219B3A #21829B
monochromatic
#360C18 #69162F #9B2145 #CD2C5B #DC5A81

Accessibility & contrast

On white

7.79
#9B2145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9B2145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2145
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2145#FFFFFF#000000##FFFFFF
##9B21451.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b2145;
/* rgb */ color: rgb(155, 33, 69);
/* oklch */ color: oklch(46.0% 0.158 9.1);
Tailwind
colors: {
  custom: {
    50: '#bf6978',
    500: '#9b2145',
    950: '#000000',
  },
}
SCSS
$custom: #9b2145;
$custom-light: #bf6978;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2145",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 69
  },
  "hsl": {
    "h": 342.295,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45979,
    "c": 0.15786,
    "h": 9.1
  },
  "luminance": 0.08486
}

Semantic roles & 50–950 ramp

primary
#9B2145
secondary
#58C0A1
accent
#E8B640
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #9B2145

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

Preview Lab → · Contrast checker → · Palette generator →

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