#B4308E#B4308E

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

Color values

HEX#B4308E
RGBrgb(180, 48, 142)
HSLhsl(317, 58%, 45%)
HSVhsv(317, 73%, 71%)
CMYKcmyk(0%, 73.3%, 21.1%, 29.4%)
CIE-LABlab(43.91, 61.13, -22.27)
CIE-LCHlch(43.91, 65.06, 339.98°)
OKLaboklab(54.2% 0.1834 -0.0598)
OKLCHoklch(54.2% 0.193 341.9)
XYZxyz(24.7626, 13.7727, 26.9402)
Luminance0.1377 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4308E #30B456
analogous
#9830B4 #B4308E #B4304C
triadic
#B4308E #8EB430 #308EB4
tetradic
#B4308E #B49830 #30B456 #304CB4
square
#B4308E #B49830 #30B456 #304CB4
split-complementary
#B4308E #4CB430 #30B498
monochromatic
#531642 #842368 #B4308E #D151AC #DD81C3

Accessibility & contrast

On white

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

On black

3.75
#B4308E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B4308E#FFFFFF#000000##FFFFFF
##B4308E1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5A91
Deuteranopia (green-blind)
#65708B
Tritanopia (blue-blind)
#BF325B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b4308e;
/* rgb */ color: rgb(180, 48, 142);
/* oklch */ color: oklch(54.2% 0.193 341.9);
Tailwind
colors: {
  custom: {
    50: '#ce75af',
    500: '#b4308e',
    950: '#000000',
  },
}
SCSS
$custom: #b4308e;
$custom-light: #ce75af;
$custom-dark: #000000;
JSON
{
  "hex": "#b4308e",
  "rgb": {
    "r": 180,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 317.273,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54197,
    "c": 0.19293,
    "h": 341.9
  },
  "luminance": 0.1377
}

Semantic roles & 50–950 ramp

primary
#B4308E
secondary
#79C690
accent
#E17347
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B4308E

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

Preview Lab → · Contrast checker → · Palette generator →

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