#B8305E#B8305E

#B8305E is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.1% C 0.174 H 5.2°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B8305E
RGBrgb(184, 48, 94)
HSLhsl(340, 59%, 45%)
HSVhsv(340, 74%, 72%)
CMYKcmyk(0%, 73.9%, 48.9%, 27.8%)
CIE-LABlab(42.94, 56.84, 5.95)
CIE-LCHlch(42.94, 57.16, 5.98°)
OKLaboklab(53.07% 0.1737 0.0157)
OKLCHoklch(53.07% 0.174 5.2)
XYZxyz(22.8464, 13.1155, 11.9160)
Luminance0.1311 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8305E #30B88A
analogous
#B830A2 #B8305E #B84630
triadic
#B8305E #5EB830 #305EB8
tetradic
#B8305E #A2B830 #30B88A #4630B8
square
#B8305E #A2B830 #30B88A #4630B8
split-complementary
#B8305E #30B846 #30A2B8
monochromatic
#57172C #872345 #B8305E #D2537E #DF84A2

Accessibility & contrast

On white

5.80
#B8305E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B8305E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8305E
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8305E#FFFFFF#000000##FFFFFF
##B8305E1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50545F
Deuteranopia (green-blind)
#746F5B
Tritanopia (blue-blind)
#C81343
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b8305e;
/* rgb */ color: rgb(184, 48, 94);
/* oklch */ color: oklch(53.1% 0.174 5.2);
Tailwind
colors: {
  custom: {
    50: '#d3748b',
    500: '#b8305e',
    950: '#000000',
  },
}
SCSS
$custom: #b8305e;
$custom-light: #d3748b;
$custom-dark: #000000;
JSON
{
  "hex": "#b8305e",
  "rgb": {
    "r": 184,
    "g": 48,
    "b": 94
  },
  "hsl": {
    "h": 339.706,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5307,
    "c": 0.17444,
    "h": 5.2
  },
  "luminance": 0.13112
}

Semantic roles & 50–950 ramp

primary
#B8305E
secondary
#7CC8AE
accent
#E2AD46
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B8305E

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

Preview Lab → · Contrast checker → · Palette generator →

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