#B0308E#B0308E

#B0308E is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.6% C 0.190 H 340.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B0308E
RGBrgb(176, 48, 142)
HSLhsl(316, 57%, 44%)
HSVhsv(316, 73%, 69%)
CMYKcmyk(0%, 72.7%, 19.3%, 31%)
CIE-LABlab(43.21, 60.13, -23.40)
CIE-LCHlch(43.21, 64.52, 338.73°)
OKLaboklab(53.56% 0.1796 -0.0631)
OKLCHoklch(53.56% 0.19 340.7)
XYZxyz(23.8446, 13.2994, 26.8972)
Luminance0.1330 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0308E #30B052
analogous
#9230B0 #B0308E #B0304E
triadic
#B0308E #8EB030 #308EB0
tetradic
#B0308E #B09230 #30B052 #304EB0
square
#B0308E #B09230 #30B052 #304EB0
split-complementary
#B0308E #4EB030 #30B092
monochromatic
#501640 #802367 #B0308E #CF4EAD #DC7EC3

Accessibility & contrast

On white

5.74
#B0308E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B0308E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0308E
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0308E#FFFFFF#000000##FFFFFF
##B0308E1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5991
Deuteranopia (green-blind)
#626D8B
Tritanopia (blue-blind)
#BB335B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b0308e;
/* rgb */ color: rgb(176, 48, 142);
/* oklch */ color: oklch(53.6% 0.190 340.7);
Tailwind
colors: {
  custom: {
    50: '#cb74af',
    500: '#b0308e',
    950: '#000000',
  },
}
SCSS
$custom: #b0308e;
$custom-light: #cb74af;
$custom-dark: #000000;
JSON
{
  "hex": "#b0308e",
  "rgb": {
    "r": 176,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 315.938,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53562,
    "c": 0.19035,
    "h": 340.7
  },
  "luminance": 0.13297
}

Semantic roles & 50–950 ramp

primary
#B0308E
secondary
#77C58C
accent
#E07047
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B0308E

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

Preview Lab → · Contrast checker → · Palette generator →

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