#B4308B#B4308B

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

Color values

HEX#B4308B
RGBrgb(180, 48, 139)
HSLhsl(319, 58%, 45%)
HSVhsv(319, 73%, 71%)
CMYKcmyk(0%, 73.3%, 22.8%, 29.4%)
CIE-LABlab(43.78, 60.73, -20.65)
CIE-LCHlch(43.78, 64.14, 341.22°)
OKLaboklab(54.06% 0.1829 -0.0552)
OKLCHoklch(54.06% 0.191 343.2)
XYZxyz(24.5404, 13.6838, 25.7699)
Luminance0.1368 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4308B #30B459
analogous
#9B30B4 #B4308B #B43049
triadic
#B4308B #8BB430 #308BB4
tetradic
#B4308B #B49B30 #30B459 #3049B4
square
#B4308B #B49B30 #30B459 #3049B4
split-complementary
#B4308B #49B430 #30B49B
monochromatic
#531640 #842366 #B4308B #D151A9 #DD81C1

Accessibility & contrast

On white

5.62
#B4308B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4308B
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4308B#FFFFFF#000000##FFFFFF
##B4308B1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5A8D
Deuteranopia (green-blind)
#666F88
Tritanopia (blue-blind)
#C03059
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b4308b;
/* rgb */ color: rgb(180, 48, 139);
/* oklch */ color: oklch(54.1% 0.191 343.2);
Tailwind
colors: {
  custom: {
    50: '#ce75ad',
    500: '#b4308b',
    950: '#000000',
  },
}
SCSS
$custom: #b4308b;
$custom-light: #ce75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b4308b",
  "rgb": {
    "r": 180,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 318.636,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54061,
    "c": 0.19107,
    "h": 343.2
  },
  "luminance": 0.13681
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4308B

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

Preview Lab → · Contrast checker → · Palette generator →

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