#B0307E#B0307E

#B0307E is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.9% C 0.181 H 347.7°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#B0307E
RGBrgb(176, 48, 126)
HSLhsl(323, 57%, 44%)
HSVhsv(323, 73%, 69%)
CMYKcmyk(0%, 72.7%, 28.4%, 31%)
CIE-LABlab(42.54, 58.02, -14.66)
CIE-LCHlch(42.54, 59.84, 345.82°)
OKLaboklab(52.86% 0.1765 -0.0386)
OKLCHoklch(52.86% 0.181 347.7)
XYZxyz(22.7284, 12.8529, 21.0185)
Luminance0.1285 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0307E #30B062
analogous
#A230B0 #B0307E #B0303E
triadic
#B0307E #7EB030 #307EB0
tetradic
#B0307E #B0A230 #30B062 #303EB0
square
#B0307E #B0A230 #30B062 #303EB0
split-complementary
#B0307E #3EB030 #30B0A2
monochromatic
#501639 #80235C #B0307E #CF4E9D #DC7EB7

Accessibility & contrast

On white

5.88
#B0307E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#B0307E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0307E
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0307E#FFFFFF#000000##FFFFFF
##B0307E1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425680
Deuteranopia (green-blind)
#686C7B
Tritanopia (blue-blind)
#BC2B53
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b0307e;
/* rgb */ color: rgb(176, 48, 126);
/* oklch */ color: oklch(52.9% 0.181 347.7);
Tailwind
colors: {
  custom: {
    50: '#cc74a3',
    500: '#b0307e',
    950: '#000000',
  },
}
SCSS
$custom: #b0307e;
$custom-light: #cc74a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b0307e",
  "rgb": {
    "r": 176,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 323.438,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52855,
    "c": 0.18065,
    "h": 347.7
  },
  "luminance": 0.1285
}

Semantic roles & 50–950 ramp

primary
#B0307E
secondary
#77C595
accent
#E08347
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B0307E

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

Preview Lab → · Contrast checker → · Palette generator →

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