#B4306C#B4306C

#B4306C is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.8% C 0.175 H 357.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B4306C
RGBrgb(180, 48, 108)
HSLhsl(333, 58%, 45%)
HSVhsv(333, 73%, 71%)
CMYKcmyk(0%, 73.3%, 40%, 29.4%)
CIE-LABlab(42.62, 57.05, -3.33)
CIE-LCHlch(42.62, 57.15, 356.66°)
OKLaboklab(52.83% 0.1751 -0.008)
OKLCHoklch(52.83% 0.175 357.4)
XYZxyz(22.5877, 12.9027, 15.4855)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4306C #30B478
analogous
#B430AE #B4306C #B43630
triadic
#B4306C #6CB430 #306CB4
tetradic
#B4306C #AEB430 #30B478 #3630B4
square
#B4306C #AEB430 #30B478 #3630B4
split-complementary
#B4306C #30B436 #30AEB4
monochromatic
#531632 #84234F #B4306C #D1518B #DD81AB

Accessibility & contrast

On white

5.87
#B4306C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B4306C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4306C
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4306C#FFFFFF#000000##FFFFFF
##B4306C1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B556E
Deuteranopia (green-blind)
#6F6E69
Tritanopia (blue-blind)
#C31F4A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b4306c;
/* rgb */ color: rgb(180, 48, 108);
/* oklch */ color: oklch(52.8% 0.175 357.4);
Tailwind
colors: {
  custom: {
    50: '#cf7496',
    500: '#b4306c',
    950: '#000000',
  },
}
SCSS
$custom: #b4306c;
$custom-light: #cf7496;
$custom-dark: #000000;
JSON
{
  "hex": "#b4306c",
  "rgb": {
    "r": 180,
    "g": 48,
    "b": 108
  },
  "hsl": {
    "h": 332.727,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52834,
    "c": 0.17527,
    "h": 357.4
  },
  "luminance": 0.129
}

Semantic roles & 50–950 ramp

primary
#B4306C
secondary
#79C6A3
accent
#E19B47
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B4306C

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

Preview Lab → · Contrast checker → · Palette generator →

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