#B4338D#B4338D

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

Color values

HEX#B4338D
RGBrgb(180, 51, 141)
HSLhsl(318, 56%, 45%)
HSVhsv(318, 72%, 71%)
CMYKcmyk(0%, 71.7%, 21.7%, 29.4%)
CIE-LABlab(44.23, 59.96, -21.17)
CIE-LCHlch(44.23, 63.59, 340.56°)
OKLaboklab(54.42% 0.1801 -0.0567)
OKLCHoklch(54.42% 0.189 342.5)
XYZxyz(24.8148, 13.9965, 26.5889)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4338D #33B45A
analogous
#9B33B4 #B4338D #B4334C
triadic
#B4338D #8DB433 #338DB4
tetradic
#B4338D #B49B33 #33B45A #334CB4
square
#B4338D #B49B33 #33B45A #334CB4
split-complementary
#B4338D #4CB433 #33B49B
monochromatic
#551842 #842568 #B4338D #CF55AA #DC85C2

Accessibility & contrast

On white

5.53
#B4338D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B4338D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4338D
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4338D#FFFFFF#000000##FFFFFF
##B4338D1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5B90
Deuteranopia (green-blind)
#67708A
Tritanopia (blue-blind)
#BF345C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b4338d;
/* rgb */ color: rgb(180, 51, 141);
/* oklch */ color: oklch(54.4% 0.189 342.5);
Tailwind
colors: {
  custom: {
    50: '#ce76ae',
    500: '#b4338d',
    950: '#000000',
  },
}
SCSS
$custom: #b4338d;
$custom-light: #ce76ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b4338d",
  "rgb": {
    "r": 180,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 318.14,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54417,
    "c": 0.18882,
    "h": 342.5
  },
  "luminance": 0.13994
}

Semantic roles & 50–950 ramp

primary
#B4338D
secondary
#7DC693
accent
#DF7649
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B4338D

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

Preview Lab → · Contrast checker → · Palette generator →

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