#B4308C#B4308C

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

Color values

HEX#B4308C
RGBrgb(180, 48, 140)
HSLhsl(318, 58%, 45%)
HSVhsv(318, 73%, 71%)
CMYKcmyk(0%, 73.3%, 22.2%, 29.4%)
CIE-LABlab(43.82, 60.86, -21.19)
CIE-LCHlch(43.82, 64.45, 340.80°)
OKLaboklab(54.11% 0.1831 -0.0568)
OKLCHoklch(54.11% 0.192 342.8)
XYZxyz(24.6138, 13.7132, 26.1565)
Luminance0.1371 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4308C #30B458
analogous
#9A30B4 #B4308C #B4304A
triadic
#B4308C #8CB430 #308CB4
tetradic
#B4308C #B49A30 #30B458 #304AB4
square
#B4308C #B49A30 #30B458 #304AB4
split-complementary
#B4308C #4AB430 #30B49A
monochromatic
#531641 #842366 #B4308C #D151AA #DD81C1

Accessibility & contrast

On white

5.61
#B4308C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#B4308C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4308C
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4308C#FFFFFF#000000##FFFFFF
##B4308C1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5A8F
Deuteranopia (green-blind)
#666F89
Tritanopia (blue-blind)
#BF315A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b4308c;
/* rgb */ color: rgb(180, 48, 140);
/* oklch */ color: oklch(54.1% 0.192 342.8);
Tailwind
colors: {
  custom: {
    50: '#ce75ad',
    500: '#b4308c',
    950: '#000000',
  },
}
SCSS
$custom: #b4308c;
$custom-light: #ce75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b4308c",
  "rgb": {
    "r": 180,
    "g": 48,
    "b": 140
  },
  "hsl": {
    "h": 318.182,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54106,
    "c": 0.19169,
    "h": 342.8
  },
  "luminance": 0.13711
}

Semantic roles & 50–950 ramp

primary
#B4308C
secondary
#79C691
accent
#E17547
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B4308C

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

Preview Lab → · Contrast checker → · Palette generator →

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