#B3338F#B3338F

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

Color values

HEX#B3338F
RGBrgb(179, 51, 143)
HSLhsl(317, 56%, 45%)
HSVhsv(317, 72%, 70%)
CMYKcmyk(0%, 71.5%, 20.1%, 29.8%)
CIE-LABlab(44.14, 59.98, -22.53)
CIE-LCHlch(44.14, 64.07, 339.42°)
OKLaboklab(54.35% 0.1795 -0.0606)
OKLCHoklch(54.35% 0.189 341.4)
XYZxyz(24.7329, 13.9370, 27.3688)
Luminance0.1394 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3338F #33B357
analogous
#9733B3 #B3338F #B3334F
triadic
#B3338F #8FB333 #338FB3
tetradic
#B3338F #B39733 #33B357 #334FB3
square
#B3338F #B39733 #33B357 #334FB3
split-complementary
#B3338F #4FB333 #33B397
monochromatic
#541843 #832569 #B3338F #CE55AC #DC84C3

Accessibility & contrast

On white

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

On black

3.79
#B3338F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B3338F#FFFFFF#000000##FFFFFF
##B3338F1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5B92
Deuteranopia (green-blind)
#65708C
Tritanopia (blue-blind)
#BE355D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b3338f;
/* rgb */ color: rgb(179, 51, 143);
/* oklch */ color: oklch(54.4% 0.189 341.4);
Tailwind
colors: {
  custom: {
    50: '#ce76b0',
    500: '#b3338f',
    950: '#000000',
  },
}
SCSS
$custom: #b3338f;
$custom-light: #ce76b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b3338f",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 143
  },
  "hsl": {
    "h": 316.875,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54351,
    "c": 0.18943,
    "h": 341.4
  },
  "luminance": 0.13935
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B3338F

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

Preview Lab → · Contrast checker → · Palette generator →

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