#B8307E#B8307E

#B8307E is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.2% C 0.187 H 350.0°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B8307E
RGBrgb(184, 48, 126)
HSLhsl(326, 59%, 45%)
HSVhsv(326, 74%, 72%)
CMYKcmyk(0%, 73.9%, 31.5%, 27.8%)
CIE-LABlab(43.96, 60.14, -12.36)
CIE-LCHlch(43.96, 61.40, 348.38°)
OKLaboklab(54.16% 0.1838 -0.0322)
OKLCHoklch(54.16% 0.187 350)
XYZxyz(24.5913, 13.8134, 21.1059)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8307E #30B86A
analogous
#AE30B8 #B8307E #B8303A
triadic
#B8307E #7EB830 #307EB8
tetradic
#B8307E #B8AE30 #30B86A #303AB8
square
#B8307E #B8AE30 #30B86A #303AB8
split-complementary
#B8307E #3AB830 #30B8AE
monochromatic
#57173C #87235D #B8307E #D2539C #DF84B8

Accessibility & contrast

On white

5.58
#B8307E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B8307E
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8307E#FFFFFF#000000##FFFFFF
##B8307E1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465980
Deuteranopia (green-blind)
#6D717B
Tritanopia (blue-blind)
#C62753
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b8307e;
/* rgb */ color: rgb(184, 48, 126);
/* oklch */ color: oklch(54.2% 0.187 350.0);
Tailwind
colors: {
  custom: {
    50: '#d275a3',
    500: '#b8307e',
    950: '#000000',
  },
}
SCSS
$custom: #b8307e;
$custom-light: #d275a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b8307e",
  "rgb": {
    "r": 184,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 325.588,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5416,
    "c": 0.18656,
    "h": 350
  },
  "luminance": 0.13811
}

Semantic roles & 50–950 ramp

primary
#B8307E
secondary
#7CC89C
accent
#E28846
background
#FDF7FA
surface
#FBEDF3
border
#D4C8CD
text
#15090F
muted
#837B7F

Preview Lab

Preview with #B8307E

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

Preview Lab → · Contrast checker → · Palette generator →

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