#B8307D#B8307D

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

Color values

HEX#B8307D
RGBrgb(184, 48, 125)
HSLhsl(326, 59%, 45%)
HSVhsv(326, 74%, 72%)
CMYKcmyk(0%, 73.9%, 32.1%, 27.8%)
CIE-LABlab(43.93, 60.02, -11.80)
CIE-LCHlch(43.93, 61.17, 348.87°)
OKLaboklab(54.12% 0.1835 -0.0307)
OKLCHoklch(54.12% 0.186 350.5)
XYZxyz(24.5271, 13.7878, 20.7677)
Luminance0.1379 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8307D #30B86B
analogous
#AF30B8 #B8307D #B83039
triadic
#B8307D #7DB830 #307DB8
tetradic
#B8307D #B8AF30 #30B86B #3039B8
square
#B8307D #B8AF30 #30B86B #3039B8
split-complementary
#B8307D #39B830 #30B8AF
monochromatic
#57173B #87235C #B8307D #D2539B #DF84B7

Accessibility & contrast

On white

5.59
#B8307D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B8307D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8307D
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8307D#FFFFFF#000000##FFFFFF
##B8307D1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46587F
Deuteranopia (green-blind)
#6E717A
Tritanopia (blue-blind)
#C62752
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b8307d;
/* rgb */ color: rgb(184, 48, 125);
/* oklch */ color: oklch(54.1% 0.186 350.5);
Tailwind
colors: {
  custom: {
    50: '#d275a2',
    500: '#b8307d',
    950: '#000000',
  },
}
SCSS
$custom: #b8307d;
$custom-light: #d275a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b8307d",
  "rgb": {
    "r": 184,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 326.029,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54121,
    "c": 0.18605,
    "h": 350.5
  },
  "luminance": 0.13785
}

Semantic roles & 50–950 ramp

primary
#B8307D
secondary
#7CC89D
accent
#E28A46
background
#FDF7FA
surface
#FBEDF3
border
#D4C8CD
text
#15090F
muted
#837B7F

Preview Lab

Preview with #B8307D

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

Preview Lab → · Contrast checker → · Palette generator →

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