#B4308A#B4308A

#B4308A is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.0% C 0.190 H 343.6°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B4308A
RGBrgb(180, 48, 138)
HSLhsl(319, 58%, 45%)
HSVhsv(319, 73%, 71%)
CMYKcmyk(0%, 73.3%, 23.3%, 29.4%)
CIE-LABlab(43.73, 60.60, -20.11)
CIE-LCHlch(43.73, 63.85, 341.64°)
OKLaboklab(54.02% 0.1827 -0.0537)
OKLCHoklch(54.02% 0.19 343.6)
XYZxyz(24.4677, 13.6547, 25.3869)
Luminance0.1365 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4308A #30B45A
analogous
#9C30B4 #B4308A #B43048
triadic
#B4308A #8AB430 #308AB4
tetradic
#B4308A #B49C30 #30B45A #3048B4
square
#B4308A #B49C30 #30B45A #3048B4
split-complementary
#B4308A #48B430 #30B49C
monochromatic
#531640 #842365 #B4308A #D151A8 #DD81C0

Accessibility & contrast

On white

5.63
#B4308A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#B4308A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4308A
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4308A#FFFFFF#000000##FFFFFF
##B4308A1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E598C
Deuteranopia (green-blind)
#676F87
Tritanopia (blue-blind)
#C03059
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b4308a;
/* rgb */ color: rgb(180, 48, 138);
/* oklch */ color: oklch(54.0% 0.190 343.6);
Tailwind
colors: {
  custom: {
    50: '#ce75ac',
    500: '#b4308a',
    950: '#000000',
  },
}
SCSS
$custom: #b4308a;
$custom-light: #ce75ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b4308a",
  "rgb": {
    "r": 180,
    "g": 48,
    "b": 138
  },
  "hsl": {
    "h": 319.091,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54016,
    "c": 0.19046,
    "h": 343.6
  },
  "luminance": 0.13652
}

Semantic roles & 50–950 ramp

primary
#B4308A
secondary
#79C692
accent
#E17847
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B4308A

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

Preview Lab → · Contrast checker → · Palette generator →

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