#B0307B#B0307B

#B0307B is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.7% C 0.179 H 349.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#B0307B
RGBrgb(176, 48, 123)
HSLhsl(325, 57%, 44%)
HSVhsv(325, 73%, 69%)
CMYKcmyk(0%, 72.7%, 30.1%, 31%)
CIE-LABlab(42.42, 57.65, -12.98)
CIE-LCHlch(42.42, 59.09, 347.31°)
OKLaboklab(52.73% 0.1758 -0.034)
OKLCHoklch(52.73% 0.179 349)
XYZxyz(22.5377, 12.7766, 20.0143)
Luminance0.1277 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0307B #30B065
analogous
#A530B0 #B0307B #B0303B
triadic
#B0307B #7BB030 #307BB0
tetradic
#B0307B #B0A530 #30B065 #303BB0
square
#B0307B #B0A530 #30B065 #303BB0
split-complementary
#B0307B #3BB030 #30B0A5
monochromatic
#501638 #802359 #B0307B #CF4E9A #DC7EB5

Accessibility & contrast

On white

5.91
#B0307B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B0307B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0307B
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0307B#FFFFFF#000000##FFFFFF
##B0307B1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43567D
Deuteranopia (green-blind)
#686C78
Tritanopia (blue-blind)
#BD2A51
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b0307b;
/* rgb */ color: rgb(176, 48, 123);
/* oklch */ color: oklch(52.7% 0.179 349.0);
Tailwind
colors: {
  custom: {
    50: '#cc74a1',
    500: '#b0307b',
    950: '#000000',
  },
}
SCSS
$custom: #b0307b;
$custom-light: #cc74a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b0307b",
  "rgb": {
    "r": 176,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 324.844,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52733,
    "c": 0.17902,
    "h": 349
  },
  "luminance": 0.12774
}

Semantic roles & 50–950 ramp

primary
#B0307B
secondary
#77C597
accent
#E08747
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B0307B

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

Preview Lab → · Contrast checker → · Palette generator →

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