#B4309D#B4309D

#B4309D is a mid, highly saturated pink. Relative luminance 0.143; OKLCH L 54.9% C 0.203 H 336.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B4309D
RGBrgb(180, 48, 157)
HSLhsl(310, 58%, 45%)
HSVhsv(310, 73%, 71%)
CMYKcmyk(0%, 73.3%, 12.8%, 29.4%)
CIE-LABlab(44.59, 63.25, -30.24)
CIE-LCHlch(44.59, 70.10, 334.44°)
OKLaboklab(54.92% 0.1854 -0.0824)
OKLCHoklch(54.92% 0.203 336)
XYZxyz(25.9655, 14.2539, 33.2755)
Luminance0.1425 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4309D #30B447
analogous
#8930B4 #B4309D #B4305B
triadic
#B4309D #9DB430 #309DB4
tetradic
#B4309D #B48930 #30B447 #305BB4
square
#B4309D #B48930 #30B447 #305BB4
split-complementary
#B4309D #5BB430 #30B489
monochromatic
#531649 #842373 #B4309D #D151BA #DD81CD

Accessibility & contrast

On white

5.45
#B4309D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B4309D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4309D
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4309D#FFFFFF#000000##FFFFFF
##B4309D1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325DA0
Deuteranopia (green-blind)
#60719A
Tritanopia (blue-blind)
#BD3963
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b4309d;
/* rgb */ color: rgb(180, 48, 157);
/* oklch */ color: oklch(54.9% 0.203 336.0);
Tailwind
colors: {
  custom: {
    50: '#ce75ba',
    500: '#b4309d',
    950: '#000000',
  },
}
SCSS
$custom: #b4309d;
$custom-light: #ce75ba;
$custom-dark: #000000;
JSON
{
  "hex": "#b4309d",
  "rgb": {
    "r": 180,
    "g": 48,
    "b": 157
  },
  "hsl": {
    "h": 310.455,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54921,
    "c": 0.20293,
    "h": 336
  },
  "luminance": 0.14252
}

Semantic roles & 50–950 ramp

primary
#B4309D
secondary
#79C687
accent
#E16247
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B4309D

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

Preview Lab → · Contrast checker → · Palette generator →

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