#B8307B#B8307B

#B8307B is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.0% C 0.185 H 351.4°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B8307B
RGBrgb(184, 48, 123)
HSLhsl(327, 59%, 45%)
HSVhsv(327, 74%, 72%)
CMYKcmyk(0%, 73.9%, 33.2%, 27.8%)
CIE-LABlab(43.85, 59.79, -10.69)
CIE-LCHlch(43.85, 60.74, 349.87°)
OKLaboklab(54.04% 0.183 -0.0277)
OKLCHoklch(54.04% 0.185 351.4)
XYZxyz(24.4007, 13.7372, 20.1016)
Luminance0.1373 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8307B #30B86D
analogous
#B130B8 #B8307B #B83037
triadic
#B8307B #7BB830 #307BB8
tetradic
#B8307B #B8B130 #30B86D #3037B8
square
#B8307B #B8B130 #30B86D #3037B8
split-complementary
#B8307B #37B830 #30B8B1
monochromatic
#57173A #87235B #B8307B #D25399 #DF84B6

Accessibility & contrast

On white

5.60
#B8307B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B8307B
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8307B#FFFFFF#000000##FFFFFF
##B8307B1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47587D
Deuteranopia (green-blind)
#6E7078
Tritanopia (blue-blind)
#C62651
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b8307b;
/* rgb */ color: rgb(184, 48, 123);
/* oklch */ color: oklch(54.0% 0.185 351.4);
Tailwind
colors: {
  custom: {
    50: '#d275a1',
    500: '#b8307b',
    950: '#000000',
  },
}
SCSS
$custom: #b8307b;
$custom-light: #d275a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b8307b",
  "rgb": {
    "r": 184,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 326.912,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54043,
    "c": 0.18506,
    "h": 351.4
  },
  "luminance": 0.13734
}

Semantic roles & 50–950 ramp

primary
#B8307B
secondary
#7CC89E
accent
#E28C46
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B8307B

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

Preview Lab → · Contrast checker → · Palette generator →

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