#B3338B#B3338B

#B3338B is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.2% C 0.187 H 343.0°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B3338B
RGBrgb(179, 51, 139)
HSLhsl(319, 56%, 45%)
HSVhsv(319, 72%, 70%)
CMYKcmyk(0%, 71.5%, 22.3%, 29.8%)
CIE-LABlab(43.97, 59.43, -20.37)
CIE-LCHlch(43.97, 62.83, 341.09°)
OKLaboklab(54.17% 0.1788 -0.0545)
OKLCHoklch(54.17% 0.187 343)
XYZxyz(24.4353, 13.8179, 25.8013)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3338B #33B35B
analogous
#9B33B3 #B3338B #B3334B
triadic
#B3338B #8BB333 #338BB3
tetradic
#B3338B #B39B33 #33B35B #334BB3
square
#B3338B #B39B33 #33B35B #334BB3
split-complementary
#B3338B #4BB333 #33B39B
monochromatic
#541841 #832566 #B3338B #CE55A8 #DC84C1

Accessibility & contrast

On white

5.58
#B3338B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B3338B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3338B
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3338B#FFFFFF#000000##FFFFFF
##B3338B1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405A8D
Deuteranopia (green-blind)
#677088
Tritanopia (blue-blind)
#BE335B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b3338b;
/* rgb */ color: rgb(179, 51, 139);
/* oklch */ color: oklch(54.2% 0.187 343.0);
Tailwind
colors: {
  custom: {
    50: '#ce76ad',
    500: '#b3338b',
    950: '#000000',
  },
}
SCSS
$custom: #b3338b;
$custom-light: #ce76ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b3338b",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 139
  },
  "hsl": {
    "h": 318.75,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5417,
    "c": 0.1869,
    "h": 343
  },
  "luminance": 0.13815
}

Semantic roles & 50–950 ramp

primary
#B3338B
secondary
#7CC693
accent
#DF7849
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B3338B

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

Preview Lab → · Contrast checker → · Palette generator →

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