#B4307E#B4307E

#B4307E is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.5% C 0.184 H 348.9°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B4307E
RGBrgb(180, 48, 126)
HSLhsl(325, 58%, 45%)
HSVhsv(325, 73%, 71%)
CMYKcmyk(0%, 73.3%, 30%, 29.4%)
CIE-LABlab(43.25, 59.08, -13.51)
CIE-LCHlch(43.25, 60.60, 347.12°)
OKLaboklab(53.51% 0.1802 -0.0354)
OKLCHoklch(53.51% 0.184 348.9)
XYZxyz(23.6464, 13.3262, 21.0616)
Luminance0.1332 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4307E #30B466
analogous
#A830B4 #B4307E #B4303C
triadic
#B4307E #7EB430 #307EB4
tetradic
#B4307E #B4A830 #30B466 #303CB4
square
#B4307E #B4A830 #30B466 #303CB4
split-complementary
#B4307E #3CB430 #30B4A8
monochromatic
#53163A #84235C #B4307E #D1519C #DD81B8

Accessibility & contrast

On white

5.73
#B4307E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B4307E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4307E
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4307E#FFFFFF#000000##FFFFFF
##B4307E1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445780
Deuteranopia (green-blind)
#6A6F7B
Tritanopia (blue-blind)
#C12953
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b4307e;
/* rgb */ color: rgb(180, 48, 126);
/* oklch */ color: oklch(53.5% 0.184 348.9);
Tailwind
colors: {
  custom: {
    50: '#cf74a3',
    500: '#b4307e',
    950: '#000000',
  },
}
SCSS
$custom: #b4307e;
$custom-light: #cf74a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b4307e",
  "rgb": {
    "r": 180,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 324.545,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53506,
    "c": 0.1836,
    "h": 348.9
  },
  "luminance": 0.13324
}

Semantic roles & 50–950 ramp

primary
#B4307E
secondary
#79C699
accent
#E18647
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B4307E

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

Preview Lab → · Contrast checker → · Palette generator →

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