#B8307C#B8307C

#B8307C is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.1% C 0.186 H 350.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B8307C
RGBrgb(184, 48, 124)
HSLhsl(326, 59%, 45%)
HSVhsv(326, 74%, 72%)
CMYKcmyk(0%, 73.9%, 32.6%, 27.8%)
CIE-LABlab(43.89, 59.90, -11.25)
CIE-LCHlch(43.89, 60.95, 349.37°)
OKLaboklab(54.08% 0.1832 -0.0292)
OKLCHoklch(54.08% 0.186 350.9)
XYZxyz(24.4636, 13.7623, 20.4330)
Luminance0.1376 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8307C #30B86C
analogous
#B030B8 #B8307C #B83038
triadic
#B8307C #7CB830 #307CB8
tetradic
#B8307C #B8B030 #30B86C #3038B8
square
#B8307C #B8B030 #30B86C #3038B8
split-complementary
#B8307C #38B830 #30B8B0
monochromatic
#57173B #87235B #B8307C #D2539A #DF84B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8307C#FFFFFF#000000##FFFFFF
##B8307C1.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)
#47587E
Deuteranopia (green-blind)
#6E7179
Tritanopia (blue-blind)
#C62652
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b8307c;
/* rgb */ color: rgb(184, 48, 124);
/* oklch */ color: oklch(54.1% 0.186 350.9);
Tailwind
colors: {
  custom: {
    50: '#d275a2',
    500: '#b8307c',
    950: '#000000',
  },
}
SCSS
$custom: #b8307c;
$custom-light: #d275a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b8307c",
  "rgb": {
    "r": 184,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 326.471,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54082,
    "c": 0.18555,
    "h": 350.9
  },
  "luminance": 0.13759
}

Semantic roles & 50–950 ramp

primary
#B8307C
secondary
#7CC89D
accent
#E28B46
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090F
muted
#837B7E

Preview Lab

Preview with #B8307C

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

Preview Lab → · Contrast checker → · Palette generator →

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