#B9338E#B9338E

#B9338E is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.3% C 0.193 H 343.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B9338E
RGBrgb(185, 51, 142)
HSLhsl(319, 57%, 46%)
HSVhsv(319, 72%, 73%)
CMYKcmyk(0%, 72.4%, 23.2%, 27.5%)
CIE-LABlab(45.13, 61.38, -20.31)
CIE-LCHlch(45.13, 64.65, 341.69°)
OKLaboklab(55.25% 0.185 -0.0542)
OKLCHoklch(55.25% 0.193 343.7)
XYZxyz(26.0749, 14.6376, 27.0381)
Luminance0.1464 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9338E #33B95E
analogous
#A133B9 #B9338E #B9334B
triadic
#B9338E #8EB933 #338EB9
tetradic
#B9338E #B9A133 #33B95E #334BB9
square
#B9338E #B9A133 #33B95E #334BB9
split-complementary
#B9338E #4BB933 #33B9A1
monochromatic
#591944 #892669 #B9338E #D158AA #DE88C3

Accessibility & contrast

On white

5.35
#B9338E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B9338E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9338E
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9338E#FFFFFF#000000##FFFFFF
##B9338E1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415D91
Deuteranopia (green-blind)
#6A738B
Tritanopia (blue-blind)
#C5335C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b9338e;
/* rgb */ color: rgb(185, 51, 142);
/* oklch */ color: oklch(55.3% 0.193 343.7);
Tailwind
colors: {
  custom: {
    50: '#d277af',
    500: '#b9338e',
    950: '#000000',
  },
}
SCSS
$custom: #b9338e;
$custom-light: #d277af;
$custom-dark: #000000;
JSON
{
  "hex": "#b9338e",
  "rgb": {
    "r": 185,
    "g": 51,
    "b": 142
  },
  "hsl": {
    "h": 319.254,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55253,
    "c": 0.19283,
    "h": 343.7
  },
  "luminance": 0.14635
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9338E

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

Preview Lab → · Contrast checker → · Palette generator →

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