#B3338D#B3338D

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

Color values

HEX#B3338D
RGBrgb(179, 51, 141)
HSLhsl(318, 56%, 45%)
HSVhsv(318, 72%, 70%)
CMYKcmyk(0%, 71.5%, 21.2%, 29.8%)
CIE-LABlab(44.06, 59.71, -21.45)
CIE-LCHlch(44.06, 63.44, 340.24°)
OKLaboklab(54.26% 0.1791 -0.0575)
OKLCHoklch(54.26% 0.188 342.2)
XYZxyz(24.5827, 13.8769, 26.5780)
Luminance0.1387 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3338D #33B359
analogous
#9933B3 #B3338D #B3334D
triadic
#B3338D #8DB333 #338DB3
tetradic
#B3338D #B39933 #33B359 #334DB3
square
#B3338D #B39933 #33B359 #334DB3
split-complementary
#B3338D #4DB333 #33B399
monochromatic
#541842 #832567 #B3338D #CE55AA #DC84C2

Accessibility & contrast

On white

5.56
#B3338D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B3338D
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3338D#FFFFFF#000000##FFFFFF
##B3338D1.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5B90
Deuteranopia (green-blind)
#66708A
Tritanopia (blue-blind)
#BE345C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b3338d;
/* rgb */ color: rgb(179, 51, 141);
/* oklch */ color: oklch(54.3% 0.188 342.2);
Tailwind
colors: {
  custom: {
    50: '#ce76ae',
    500: '#b3338d',
    950: '#000000',
  },
}
SCSS
$custom: #b3338d;
$custom-light: #ce76ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b3338d",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 317.813,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5426,
    "c": 0.18815,
    "h": 342.2
  },
  "luminance": 0.13874
}

Semantic roles & 50–950 ramp

primary
#B3338D
secondary
#7CC692
accent
#DF7549
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B3338D

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

Preview Lab → · Contrast checker → · Palette generator →

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