#B0309A#B0309A

#B0309A is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.1% C 0.199 H 335.9°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#B0309A
RGBrgb(176, 48, 154)
HSLhsl(310, 57%, 44%)
HSVhsv(310, 73%, 69%)
CMYKcmyk(0%, 72.7%, 12.5%, 31%)
CIE-LABlab(43.77, 61.85, -29.78)
CIE-LCHlch(43.77, 68.65, 334.29°)
OKLaboklab(54.15% 0.1811 -0.0812)
OKLCHoklch(54.15% 0.199 335.9)
XYZxyz(24.7945, 13.6793, 31.9001)
Luminance0.1368 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0309A #30B046
analogous
#8630B0 #B0309A #B0305A
triadic
#B0309A #9AB030 #309AB0
tetradic
#B0309A #B08630 #30B046 #305AB0
square
#B0309A #B08630 #30B046 #305AB0
split-complementary
#B0309A #5AB030 #30B086
monochromatic
#501646 #802370 #B0309A #CF4EB9 #DC7ECC

Accessibility & contrast

On white

5.62
#B0309A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#B0309A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0309A
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0309A#FFFFFF#000000##FFFFFF
##B0309A1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315B9D
Deuteranopia (green-blind)
#5E6E97
Tritanopia (blue-blind)
#B93961
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b0309a;
/* rgb */ color: rgb(176, 48, 154);
/* oklch */ color: oklch(54.1% 0.199 335.9);
Tailwind
colors: {
  custom: {
    50: '#cb75b8',
    500: '#b0309a',
    950: '#000000',
  },
}
SCSS
$custom: #b0309a;
$custom-light: #cb75b8;
$custom-dark: #000000;
JSON
{
  "hex": "#b0309a",
  "rgb": {
    "r": 176,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 310.313,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54149,
    "c": 0.19851,
    "h": 335.9
  },
  "luminance": 0.13677
}

Semantic roles & 50–950 ramp

primary
#B0309A
secondary
#77C584
accent
#E06247
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #B0309A

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

Preview Lab → · Contrast checker → · Palette generator →

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