#B9338D#B9338D

#B9338D is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.2% C 0.192 H 344.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#B9338D
RGBrgb(185, 51, 141)
HSLhsl(320, 57%, 46%)
HSVhsv(320, 72%, 73%)
CMYKcmyk(0%, 72.4%, 23.8%, 27.5%)
CIE-LABlab(45.09, 61.25, -19.77)
CIE-LCHlch(45.09, 64.36, 342.11°)
OKLaboklab(55.21% 0.1848 -0.0527)
OKLCHoklch(55.21% 0.192 344.1)
XYZxyz(26.0001, 14.6077, 26.6444)
Luminance0.1461 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9338D #33B95F
analogous
#A233B9 #B9338D #B9334A
triadic
#B9338D #8DB933 #338DB9
tetradic
#B9338D #B9A233 #33B95F #334AB9
square
#B9338D #B9A233 #33B95F #334AB9
split-complementary
#B9338D #4AB933 #33B9A2
monochromatic
#591944 #892668 #B9338D #D158A9 #DE88C2

Accessibility & contrast

On white

5.36
#B9338D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#B9338D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9338D
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9338D#FFFFFF#000000##FFFFFF
##B9338D1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425C8F
Deuteranopia (green-blind)
#6B738A
Tritanopia (blue-blind)
#C5325C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b9338d;
/* rgb */ color: rgb(185, 51, 141);
/* oklch */ color: oklch(55.2% 0.192 344.1);
Tailwind
colors: {
  custom: {
    50: '#d277ae',
    500: '#b9338d',
    950: '#000000',
  },
}
SCSS
$custom: #b9338d;
$custom-light: #d277ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b9338d",
  "rgb": {
    "r": 185,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 319.701,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55209,
    "c": 0.19221,
    "h": 344.1
  },
  "luminance": 0.14605
}

Semantic roles & 50–950 ramp

primary
#B9338D
secondary
#80C897
accent
#E07A48
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #B9338D

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

Preview Lab → · Contrast checker → · Palette generator →

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