#B0308C#B0308C

#B0308C is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.5% C 0.189 H 341.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#B0308C
RGBrgb(176, 48, 140)
HSLhsl(317, 57%, 44%)
HSVhsv(317, 73%, 69%)
CMYKcmyk(0%, 72.7%, 20.5%, 31%)
CIE-LABlab(43.12, 59.85, -22.32)
CIE-LCHlch(43.12, 63.88, 339.54°)
OKLaboklab(53.47% 0.1793 -0.06)
OKLCHoklch(53.47% 0.189 341.5)
XYZxyz(23.6958, 13.2398, 26.1135)
Luminance0.1324 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0308C #30B054
analogous
#9430B0 #B0308C #B0304C
triadic
#B0308C #8CB030 #308CB0
tetradic
#B0308C #B09430 #30B054 #304CB0
square
#B0308C #B09430 #30B054 #304CB0
split-complementary
#B0308C #4CB030 #30B094
monochromatic
#501640 #802366 #B0308C #CF4EAB #DC7EC2

Accessibility & contrast

On white

5.76
#B0308C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B0308C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0308C
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0308C#FFFFFF#000000##FFFFFF
##B0308C1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B598F
Deuteranopia (green-blind)
#636D89
Tritanopia (blue-blind)
#BB325A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b0308c;
/* rgb */ color: rgb(176, 48, 140);
/* oklch */ color: oklch(53.5% 0.189 341.5);
Tailwind
colors: {
  custom: {
    50: '#cb74ae',
    500: '#b0308c',
    950: '#000000',
  },
}
SCSS
$custom: #b0308c;
$custom-light: #cb74ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b0308c",
  "rgb": {
    "r": 176,
    "g": 48,
    "b": 140
  },
  "hsl": {
    "h": 316.875,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53469,
    "c": 0.18906,
    "h": 341.5
  },
  "luminance": 0.13237
}

Semantic roles & 50–950 ramp

primary
#B0308C
secondary
#77C58D
accent
#E07247
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B0308C

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

Preview Lab → · Contrast checker → · Palette generator →

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