#9B2148#9B2148

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

Color values

HEX#9B2148
RGBrgb(155, 33, 72)
HSLhsl(341, 65%, 37%)
HSVhsv(341, 79%, 61%)
CMYKcmyk(0%, 78.7%, 53.5%, 39.2%)
CIE-LABlab(35.06, 51.52, 8.01)
CIE-LCHlch(35.06, 52.14, 8.84°)
OKLaboklab(46.06% 0.157 0.0206)
OKLCHoklch(46.06% 0.158 7.5)
XYZxyz(15.2325, 8.5263, 6.9733)
Luminance0.0852 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2148 #219B74
analogous
#9B2185 #9B2148 #9B3721
triadic
#9B2148 #489B21 #21489B
tetradic
#9B2148 #859B21 #219B74 #37219B
square
#9B2148 #859B21 #219B74 #37219B
split-complementary
#9B2148 #219B37 #21859B
monochromatic
#360C19 #691631 #9B2148 #CD2C5F #DC5A84

Accessibility & contrast

On white

7.76
#9B2148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B2148
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2148#FFFFFF#000000##FFFFFF
##9B21481.007.762.707.76
#FFFFFF7.761.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414349
Deuteranopia (green-blind)
#615B45
Tritanopia (blue-blind)
#A90032
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9b2148;
/* rgb */ color: rgb(155, 33, 72);
/* oklch */ color: oklch(46.1% 0.158 7.5);
Tailwind
colors: {
  custom: {
    50: '#be697a',
    500: '#9b2148',
    950: '#000000',
  },
}
SCSS
$custom: #9b2148;
$custom-light: #be697a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2148",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 340.82,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46061,
    "c": 0.15839,
    "h": 7.5
  },
  "luminance": 0.08524
}

Semantic roles & 50–950 ramp

primary
#9B2148
secondary
#58C09F
accent
#E8B240
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9B2148

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

Preview Lab → · Contrast checker → · Palette generator →

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