#B4308F#B4308F

#B4308F is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.2% C 0.194 H 341.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#B4308F
RGBrgb(180, 48, 143)
HSLhsl(317, 58%, 45%)
HSVhsv(317, 73%, 71%)
CMYKcmyk(0%, 73.3%, 20.6%, 29.4%)
CIE-LABlab(43.95, 61.27, -22.81)
CIE-LCHlch(43.95, 65.37, 339.58°)
OKLaboklab(54.24% 0.1836 -0.0613)
OKLCHoklch(54.24% 0.194 341.5)
XYZxyz(24.8381, 13.8029, 27.3374)
Luminance0.1380 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4308F #30B455
analogous
#9730B4 #B4308F #B4304D
triadic
#B4308F #8FB430 #308FB4
tetradic
#B4308F #B49730 #30B455 #304DB4
square
#B4308F #B49730 #30B455 #304DB4
split-complementary
#B4308F #4DB430 #30B497
monochromatic
#531642 #842369 #B4308F #D151AD #DD81C4

Accessibility & contrast

On white

5.59
#B4308F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B4308F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4308F
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4308F#FFFFFF#000000##FFFFFF
##B4308F1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5A92
Deuteranopia (green-blind)
#65708C
Tritanopia (blue-blind)
#BF325C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b4308f;
/* rgb */ color: rgb(180, 48, 143);
/* oklch */ color: oklch(54.2% 0.194 341.5);
Tailwind
colors: {
  custom: {
    50: '#ce75b0',
    500: '#b4308f',
    950: '#000000',
  },
}
SCSS
$custom: #b4308f;
$custom-light: #ce75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b4308f",
  "rgb": {
    "r": 180,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 316.818,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54243,
    "c": 0.19357,
    "h": 341.5
  },
  "luminance": 0.138
}

Semantic roles & 50–950 ramp

primary
#B4308F
secondary
#79C68F
accent
#E17247
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B4308F

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

Preview Lab → · Contrast checker → · Palette generator →

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