#B3338E#B3338E

#B3338E is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.3% C 0.189 H 341.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#B3338E
RGBrgb(179, 51, 142)
HSLhsl(317, 56%, 45%)
HSVhsv(317, 72%, 70%)
CMYKcmyk(0%, 71.5%, 20.7%, 29.8%)
CIE-LABlab(44.10, 59.84, -21.99)
CIE-LCHlch(44.10, 63.75, 339.83°)
OKLaboklab(54.31% 0.1793 -0.059)
OKLCHoklch(54.31% 0.189 341.8)
XYZxyz(24.6575, 13.9068, 26.9716)
Luminance0.1390 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3338E #33B358
analogous
#9833B3 #B3338E #B3334E
triadic
#B3338E #8EB333 #338EB3
tetradic
#B3338E #B39833 #33B358 #334EB3
square
#B3338E #B39833 #33B358 #334EB3
split-complementary
#B3338E #4EB333 #33B398
monochromatic
#541842 #832568 #B3338E #CE55AB #DC84C3

Accessibility & contrast

On white

5.55
#B3338E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B3338E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3338E
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3338E#FFFFFF#000000##FFFFFF
##B3338E1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5B91
Deuteranopia (green-blind)
#66708B
Tritanopia (blue-blind)
#BE355C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b3338e;
/* rgb */ color: rgb(179, 51, 142);
/* oklch */ color: oklch(54.3% 0.189 341.8);
Tailwind
colors: {
  custom: {
    50: '#ce76af',
    500: '#b3338e',
    950: '#000000',
  },
}
SCSS
$custom: #b3338e;
$custom-light: #ce76af;
$custom-dark: #000000;
JSON
{
  "hex": "#b3338e",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 142
  },
  "hsl": {
    "h": 317.344,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54305,
    "c": 0.18879,
    "h": 341.8
  },
  "luminance": 0.13904
}

Semantic roles & 50–950 ramp

primary
#B3338E
secondary
#7CC691
accent
#DF7449
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B3338E

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

Preview Lab → · Contrast checker → · Palette generator →

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