#B9338B#B9338B

#B9338B is a mid, vivid pink. Relative luminance 0.145; OKLCH L 55.1% C 0.191 H 344.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B9338B
RGBrgb(185, 51, 139)
HSLhsl(321, 57%, 46%)
HSVhsv(321, 72%, 73%)
CMYKcmyk(0%, 72.4%, 24.9%, 27.5%)
CIE-LABlab(45.01, 60.99, -18.68)
CIE-LCHlch(45.01, 63.78, 342.97°)
OKLaboklab(55.12% 0.1845 -0.0497)
OKLCHoklch(55.12% 0.191 344.9)
XYZxyz(25.8527, 14.5488, 25.8678)
Luminance0.1455 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9338B #33B961
analogous
#A433B9 #B9338B #B93348
triadic
#B9338B #8BB933 #338BB9
tetradic
#B9338B #B9A433 #33B961 #3348B9
square
#B9338B #B9A433 #33B961 #3348B9
split-complementary
#B9338B #48B933 #33B9A4
monochromatic
#591943 #892667 #B9338B #D158A8 #DE88C1

Accessibility & contrast

On white

5.37
#B9338B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B9338B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9338B
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9338B#FFFFFF#000000##FFFFFF
##B9338B1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435C8D
Deuteranopia (green-blind)
#6B7388
Tritanopia (blue-blind)
#C5315B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b9338b;
/* rgb */ color: rgb(185, 51, 139);
/* oklch */ color: oklch(55.1% 0.191 344.9);
Tailwind
colors: {
  custom: {
    50: '#d277ad',
    500: '#b9338b',
    950: '#000000',
  },
}
SCSS
$custom: #b9338b;
$custom-light: #d277ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b9338b",
  "rgb": {
    "r": 185,
    "g": 51,
    "b": 139
  },
  "hsl": {
    "h": 320.597,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55122,
    "c": 0.19103,
    "h": 344.9
  },
  "luminance": 0.14546
}

Semantic roles & 50–950 ramp

primary
#B9338B
secondary
#80C899
accent
#E07C48
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #B9338B

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

Preview Lab → · Contrast checker → · Palette generator →

#B9338B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva