#B8306A#B8306A

#B8306A is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.4% C 0.178 H 359.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B8306A
RGBrgb(184, 48, 106)
HSLhsl(334, 59%, 45%)
HSVhsv(334, 74%, 72%)
CMYKcmyk(0%, 73.9%, 42.4%, 27.8%)
CIE-LABlab(43.28, 57.97, -1.03)
CIE-LCHlch(43.28, 57.98, 358.99°)
OKLaboklab(53.44% 0.1779 -0.002)
OKLCHoklch(53.44% 0.178 359.4)
XYZxyz(23.4274, 13.3479, 14.9756)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8306A #30B87E
analogous
#B830AE #B8306A #B83A30
triadic
#B8306A #6AB830 #306AB8
tetradic
#B8306A #AEB830 #30B87E #3A30B8
square
#B8306A #AEB830 #30B87E #3A30B8
split-complementary
#B8306A #30B83A #30AEB8
monochromatic
#571732 #87234E #B8306A #D25389 #DF84AA

Accessibility & contrast

On white

5.72
#B8306A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B8306A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8306A
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8306A#FFFFFF#000000##FFFFFF
##B8306A1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D566B
Deuteranopia (green-blind)
#727067
Tritanopia (blue-blind)
#C71B49
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b8306a;
/* rgb */ color: rgb(184, 48, 106);
/* oklch */ color: oklch(53.4% 0.178 359.4);
Tailwind
colors: {
  custom: {
    50: '#d37494',
    500: '#b8306a',
    950: '#000000',
  },
}
SCSS
$custom: #b8306a;
$custom-light: #d37494;
$custom-dark: #000000;
JSON
{
  "hex": "#b8306a",
  "rgb": {
    "r": 184,
    "g": 48,
    "b": 106
  },
  "hsl": {
    "h": 334.412,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53438,
    "c": 0.17792,
    "h": 359.4
  },
  "luminance": 0.13345
}

Semantic roles & 50–950 ramp

primary
#B8306A
secondary
#7CC8A8
accent
#E29F46
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B8306A

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

Preview Lab → · Contrast checker → · Palette generator →

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