#B7307B#B7307B

#B7307B is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.9% C 0.184 H 351.1°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B7307B
RGBrgb(183, 48, 123)
HSLhsl(327, 58%, 45%)
HSVhsv(327, 74%, 72%)
CMYKcmyk(0%, 73.8%, 32.8%, 28.2%)
CIE-LABlab(43.67, 59.52, -10.97)
CIE-LCHlch(43.67, 60.52, 349.55°)
OKLaboklab(53.88% 0.1821 -0.0285)
OKLCHoklch(53.88% 0.184 351.1)
XYZxyz(24.1619, 13.6141, 20.0904)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7307B #30B76C
analogous
#B030B7 #B7307B #B73037
triadic
#B7307B #7BB730 #307BB7
tetradic
#B7307B #B7B030 #30B76C #3037B7
square
#B7307B #B7B030 #30B76C #3037B7
split-complementary
#B7307B #37B730 #30B7B0
monochromatic
#56173A #87235A #B7307B #D25299 #DE83B6

Accessibility & contrast

On white

5.64
#B7307B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B7307B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B7307B
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7307B#FFFFFF#000000##FFFFFF
##B7307B1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47587D
Deuteranopia (green-blind)
#6D7078
Tritanopia (blue-blind)
#C52651
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b7307b;
/* rgb */ color: rgb(183, 48, 123);
/* oklch */ color: oklch(53.9% 0.184 351.1);
Tailwind
colors: {
  custom: {
    50: '#d175a1',
    500: '#b7307b',
    950: '#000000',
  },
}
SCSS
$custom: #b7307b;
$custom-light: #d175a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b7307b",
  "rgb": {
    "r": 183,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 326.667,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53879,
    "c": 0.1843,
    "h": 351.1
  },
  "luminance": 0.13611
}

Semantic roles & 50–950 ramp

primary
#B7307B
secondary
#7BC89D
accent
#E28B46
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B7307B

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

Preview Lab → · Contrast checker → · Palette generator →

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