#B8306E#B8306E

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

Color values

HEX#B8306E
RGBrgb(184, 48, 110)
HSLhsl(333, 59%, 45%)
HSVhsv(333, 74%, 72%)
CMYKcmyk(0%, 73.9%, 40.2%, 27.8%)
CIE-LABlab(43.41, 58.37, -3.32)
CIE-LCHlch(43.41, 58.47, 356.74°)
OKLaboklab(53.57% 0.1792 -0.008)
OKLCHoklch(53.57% 0.179 357.4)
XYZxyz(23.6402, 13.4330, 16.0968)
Luminance0.1343 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8306E #30B87A
analogous
#B830B2 #B8306E #B83630
triadic
#B8306E #6EB830 #306EB8
tetradic
#B8306E #B2B830 #30B87A #3630B8
square
#B8306E #B2B830 #30B87A #3630B8
split-complementary
#B8306E #30B836 #30B2B8
monochromatic
#571734 #872351 #B8306E #D2538D #DF84AD

Accessibility & contrast

On white

5.70
#B8306E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B8306E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8306E
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8306E#FFFFFF#000000##FFFFFF
##B8306E1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5670
Deuteranopia (green-blind)
#71706B
Tritanopia (blue-blind)
#C71E4B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b8306e;
/* rgb */ color: rgb(184, 48, 110);
/* oklch */ color: oklch(53.6% 0.179 357.4);
Tailwind
colors: {
  custom: {
    50: '#d27497',
    500: '#b8306e',
    950: '#000000',
  },
}
SCSS
$custom: #b8306e;
$custom-light: #d27497;
$custom-dark: #000000;
JSON
{
  "hex": "#b8306e",
  "rgb": {
    "r": 184,
    "g": 48,
    "b": 110
  },
  "hsl": {
    "h": 332.647,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53571,
    "c": 0.17939,
    "h": 357.4
  },
  "luminance": 0.1343
}

Semantic roles & 50–950 ramp

primary
#B8306E
secondary
#7CC8A5
accent
#E29B46
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B8306E

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

Preview Lab → · Contrast checker → · Palette generator →

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