#B0306D#B0306D

#B0306D is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.2% C 0.172 H 355.8°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B0306D
RGBrgb(176, 48, 109)
HSLhsl(331, 57%, 44%)
HSVhsv(331, 73%, 69%)
CMYKcmyk(0%, 72.7%, 38.1%, 31%)
CIE-LABlab(41.92, 56.03, -5.06)
CIE-LCHlch(41.92, 56.26, 354.84°)
OKLaboklab(52.2% 0.1719 -0.0126)
OKLCHoklch(52.2% 0.172 355.8)
XYZxyz(21.7232, 12.4508, 15.7243)
Luminance0.1245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0306D #30B073
analogous
#B030AD #B0306D #B03330
triadic
#B0306D #6DB030 #306DB0
tetradic
#B0306D #ADB030 #30B073 #3330B0
square
#B0306D #ADB030 #30B073 #3330B0
split-complementary
#B0306D #30B033 #30ADB0
monochromatic
#501631 #80234F #B0306D #CF4E8C #DC7EAB

Accessibility & contrast

On white

6.02
#B0306D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#B0306D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0306D
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0306D#FFFFFF#000000##FFFFFF
##B0306D1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49546F
Deuteranopia (green-blind)
#6C6C6A
Tritanopia (blue-blind)
#BE224A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b0306d;
/* rgb */ color: rgb(176, 48, 109);
/* oklch */ color: oklch(52.2% 0.172 355.8);
Tailwind
colors: {
  custom: {
    50: '#cc7396',
    500: '#b0306d',
    950: '#000000',
  },
}
SCSS
$custom: #b0306d;
$custom-light: #cc7396;
$custom-dark: #000000;
JSON
{
  "hex": "#b0306d",
  "rgb": {
    "r": 176,
    "g": 48,
    "b": 109
  },
  "hsl": {
    "h": 331.406,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52202,
    "c": 0.17233,
    "h": 355.8
  },
  "luminance": 0.12448
}

Semantic roles & 50–950 ramp

primary
#B0306D
secondary
#77C5A0
accent
#E09747
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090D
muted
#837B7E

Preview Lab

Preview with #B0306D

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

Preview Lab → · Contrast checker → · Palette generator →

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