#B8306C#B8306C

#B8306C is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.5% C 0.179 H 358.4°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B8306C
RGBrgb(184, 48, 108)
HSLhsl(334, 59%, 45%)
HSVhsv(334, 74%, 72%)
CMYKcmyk(0%, 73.9%, 41.3%, 27.8%)
CIE-LABlab(43.34, 58.17, -2.18)
CIE-LCHlch(43.34, 58.21, 357.86°)
OKLaboklab(53.5% 0.1786 -0.005)
OKLCHoklch(53.5% 0.179 358.4)
XYZxyz(23.5326, 13.3899, 15.5297)
Luminance0.1339 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8306C #30B87C
analogous
#B830B0 #B8306C #B83830
triadic
#B8306C #6CB830 #306CB8
tetradic
#B8306C #B0B830 #30B87C #3830B8
square
#B8306C #B0B830 #30B87C #3830B8
split-complementary
#B8306C #30B838 #30B0B8
monochromatic
#571733 #872350 #B8306C #D2538B #DF84AC

Accessibility & contrast

On white

5.71
#B8306C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B8306C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8306C
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8306C#FFFFFF#000000##FFFFFF
##B8306C1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D566E
Deuteranopia (green-blind)
#727069
Tritanopia (blue-blind)
#C71D4A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b8306c;
/* rgb */ color: rgb(184, 48, 108);
/* oklch */ color: oklch(53.5% 0.179 358.4);
Tailwind
colors: {
  custom: {
    50: '#d27496',
    500: '#b8306c',
    950: '#000000',
  },
}
SCSS
$custom: #b8306c;
$custom-light: #d27496;
$custom-dark: #000000;
JSON
{
  "hex": "#b8306c",
  "rgb": {
    "r": 184,
    "g": 48,
    "b": 108
  },
  "hsl": {
    "h": 333.529,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53504,
    "c": 0.17864,
    "h": 358.4
  },
  "luminance": 0.13387
}

Semantic roles & 50–950 ramp

primary
#B8306C
secondary
#7CC8A6
accent
#E29D46
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B8306C

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

Preview Lab → · Contrast checker → · Palette generator →

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