#B3338C#B3338C

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

Color values

HEX#B3338C
RGBrgb(179, 51, 140)
HSLhsl(318, 56%, 45%)
HSVhsv(318, 72%, 70%)
CMYKcmyk(0%, 71.5%, 21.8%, 29.8%)
CIE-LABlab(44.01, 59.57, -20.91)
CIE-LCHlch(44.01, 63.13, 340.66°)
OKLaboklab(54.22% 0.179 -0.056)
OKLCHoklch(54.22% 0.188 342.6)
XYZxyz(24.5087, 13.8473, 26.1879)
Luminance0.1384 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3338C #33B35A
analogous
#9A33B3 #B3338C #B3334C
triadic
#B3338C #8CB333 #338CB3
tetradic
#B3338C #B39A33 #33B35A #334CB3
square
#B3338C #B39A33 #33B35A #334CB3
split-complementary
#B3338C #4CB333 #33B39A
monochromatic
#541841 #832567 #B3338C #CE55A9 #DC84C1

Accessibility & contrast

On white

5.57
#B3338C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#B3338C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3338C
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3338C#FFFFFF#000000##FFFFFF
##B3338C1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5B8E
Deuteranopia (green-blind)
#677089
Tritanopia (blue-blind)
#BE345B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b3338c;
/* rgb */ color: rgb(179, 51, 140);
/* oklch */ color: oklch(54.2% 0.188 342.6);
Tailwind
colors: {
  custom: {
    50: '#ce76ad',
    500: '#b3338c',
    950: '#000000',
  },
}
SCSS
$custom: #b3338c;
$custom-light: #ce76ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b3338c",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 140
  },
  "hsl": {
    "h": 318.281,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54215,
    "c": 0.18752,
    "h": 342.6
  },
  "luminance": 0.13845
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B3338C

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

Preview Lab → · Contrast checker → · Palette generator →

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