#B4307B#B4307B

#B4307B is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.4% C 0.182 H 350.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B4307B
RGBrgb(180, 48, 123)
HSLhsl(326, 58%, 45%)
HSVhsv(326, 73%, 71%)
CMYKcmyk(0%, 73.3%, 31.7%, 29.4%)
CIE-LABlab(43.14, 58.72, -11.84)
CIE-LCHlch(43.14, 59.90, 348.60°)
OKLaboklab(53.39% 0.1794 -0.0308)
OKLCHoklch(53.39% 0.182 350.2)
XYZxyz(23.4558, 13.2500, 20.0573)
Luminance0.1325 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4307B #30B469
analogous
#AB30B4 #B4307B #B43039
triadic
#B4307B #7BB430 #307BB4
tetradic
#B4307B #B4AB30 #30B469 #3039B4
square
#B4307B #B4AB30 #30B469 #3039B4
split-complementary
#B4307B #39B430 #30B4AB
monochromatic
#531639 #84235A #B4307B #D15199 #DD81B6

Accessibility & contrast

On white

5.75
#B4307B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B4307B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4307B
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4307B#FFFFFF#000000##FFFFFF
##B4307B1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45577D
Deuteranopia (green-blind)
#6B6E78
Tritanopia (blue-blind)
#C12851
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b4307b;
/* rgb */ color: rgb(180, 48, 123);
/* oklch */ color: oklch(53.4% 0.182 350.2);
Tailwind
colors: {
  custom: {
    50: '#cf74a1',
    500: '#b4307b',
    950: '#000000',
  },
}
SCSS
$custom: #b4307b;
$custom-light: #cf74a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b4307b",
  "rgb": {
    "r": 180,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 325.909,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53387,
    "c": 0.18203,
    "h": 350.2
  },
  "luminance": 0.13247
}

Semantic roles & 50–950 ramp

primary
#B4307B
secondary
#79C69B
accent
#E18947
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B4307B

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

Preview Lab → · Contrast checker → · Palette generator →

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