#B8307A#B8307A

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

Color values

HEX#B8307A
RGBrgb(184, 48, 122)
HSLhsl(327, 59%, 45%)
HSVhsv(327, 74%, 72%)
CMYKcmyk(0%, 73.9%, 33.7%, 27.8%)
CIE-LABlab(43.82, 59.67, -10.13)
CIE-LCHlch(43.82, 60.53, 350.37°)
OKLaboklab(54.01% 0.1827 -0.0262)
OKLCHoklch(54.01% 0.185 351.9)
XYZxyz(24.3384, 13.7123, 19.7736)
Luminance0.1371 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8307A #30B86E
analogous
#B230B8 #B8307A #B83036
triadic
#B8307A #7AB830 #307AB8
tetradic
#B8307A #B8B230 #30B86E #3036B8
square
#B8307A #B8B230 #30B86E #3036B8
split-complementary
#B8307A #36B830 #30B8B2
monochromatic
#57173A #87235A #B8307A #D25398 #DF84B5

Accessibility & contrast

On white

5.61
#B8307A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#B8307A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8307A
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8307A#FFFFFF#000000##FFFFFF
##B8307A1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48587C
Deuteranopia (green-blind)
#6E7077
Tritanopia (blue-blind)
#C62551
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b8307a;
/* rgb */ color: rgb(184, 48, 122);
/* oklch */ color: oklch(54.0% 0.185 351.9);
Tailwind
colors: {
  custom: {
    50: '#d275a0',
    500: '#b8307a',
    950: '#000000',
  },
}
SCSS
$custom: #b8307a;
$custom-light: #d275a0;
$custom-dark: #000000;
JSON
{
  "hex": "#b8307a",
  "rgb": {
    "r": 184,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 327.353,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54005,
    "c": 0.18457,
    "h": 351.9
  },
  "luminance": 0.13709
}

Semantic roles & 50–950 ramp

primary
#B8307A
secondary
#7CC89F
accent
#E28D46
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B8307A

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

Preview Lab → · Contrast checker → · Palette generator →

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