#B9338F#B9338F

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

Color values

HEX#B9338F
RGBrgb(185, 51, 143)
HSLhsl(319, 57%, 46%)
HSVhsv(319, 72%, 73%)
CMYKcmyk(0%, 72.4%, 22.7%, 27.5%)
CIE-LABlab(45.18, 61.51, -20.85)
CIE-LCHlch(45.18, 64.95, 341.28°)
OKLaboklab(55.3% 0.1852 -0.0557)
OKLCHoklch(55.3% 0.193 343.2)
XYZxyz(26.1503, 14.6678, 27.4353)
Luminance0.1467 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9338F #33B95D
analogous
#A033B9 #B9338F #B9334C
triadic
#B9338F #8FB933 #338FB9
tetradic
#B9338F #B9A033 #33B95D #334CB9
square
#B9338F #B9A033 #33B95D #334CB9
split-complementary
#B9338F #4CB933 #33B9A0
monochromatic
#591945 #89266A #B9338F #D158AB #DE88C3

Accessibility & contrast

On white

5.34
#B9338F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B9338F
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9338F#FFFFFF#000000##FFFFFF
##B9338F1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415D92
Deuteranopia (green-blind)
#6A738C
Tritanopia (blue-blind)
#C5335D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b9338f;
/* rgb */ color: rgb(185, 51, 143);
/* oklch */ color: oklch(55.3% 0.193 343.2);
Tailwind
colors: {
  custom: {
    50: '#d277b0',
    500: '#b9338f',
    950: '#000000',
  },
}
SCSS
$custom: #b9338f;
$custom-light: #d277b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b9338f",
  "rgb": {
    "r": 185,
    "g": 51,
    "b": 143
  },
  "hsl": {
    "h": 318.806,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55297,
    "c": 0.19343,
    "h": 343.2
  },
  "luminance": 0.14665
}

Semantic roles & 50–950 ramp

primary
#B9338F
secondary
#80C896
accent
#E07748
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #B9338F

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

Preview Lab → · Contrast checker → · Palette generator →

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