#B4308D#B4308D

#B4308D is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.2% C 0.192 H 342.4°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B4308D
RGBrgb(180, 48, 141)
HSLhsl(318, 58%, 45%)
HSVhsv(318, 73%, 71%)
CMYKcmyk(0%, 73.3%, 21.7%, 29.4%)
CIE-LABlab(43.86, 61.00, -21.73)
CIE-LCHlch(43.86, 64.75, 340.39°)
OKLaboklab(54.15% 0.1833 -0.0583)
OKLCHoklch(54.15% 0.192 342.4)
XYZxyz(24.6879, 13.7428, 26.5466)
Luminance0.1374 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4308D #30B457
analogous
#9930B4 #B4308D #B4304B
triadic
#B4308D #8DB430 #308DB4
tetradic
#B4308D #B49930 #30B457 #304BB4
square
#B4308D #B49930 #30B457 #304BB4
split-complementary
#B4308D #4BB430 #30B499
monochromatic
#531641 #842367 #B4308D #D151AB #DD81C2

Accessibility & contrast

On white

5.60
#B4308D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#B4308D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4308D
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4308D#FFFFFF#000000##FFFFFF
##B4308D1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5A90
Deuteranopia (green-blind)
#666F8A
Tritanopia (blue-blind)
#BF315B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b4308d;
/* rgb */ color: rgb(180, 48, 141);
/* oklch */ color: oklch(54.2% 0.192 342.4);
Tailwind
colors: {
  custom: {
    50: '#ce75ae',
    500: '#b4308d',
    950: '#000000',
  },
}
SCSS
$custom: #b4308d;
$custom-light: #ce75ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b4308d",
  "rgb": {
    "r": 180,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 317.727,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54151,
    "c": 0.19231,
    "h": 342.4
  },
  "luminance": 0.1374
}

Semantic roles & 50–950 ramp

primary
#B4308D
secondary
#79C690
accent
#E17447
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B4308D

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

Preview Lab → · Contrast checker → · Palette generator →

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