#B0307F#B0307F

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

Color values

HEX#B0307F
RGBrgb(176, 48, 127)
HSLhsl(323, 57%, 44%)
HSVhsv(323, 73%, 69%)
CMYKcmyk(0%, 72.7%, 27.8%, 31%)
CIE-LABlab(42.58, 58.14, -15.21)
CIE-LCHlch(42.58, 60.10, 345.34°)
OKLaboklab(52.9% 0.1767 -0.0401)
OKLCHoklch(52.9% 0.181 347.2)
XYZxyz(22.7933, 12.8788, 21.3601)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0307F #30B061
analogous
#A130B0 #B0307F #B0303F
triadic
#B0307F #7FB030 #307FB0
tetradic
#B0307F #B0A130 #30B061 #303FB0
square
#B0307F #B0A130 #30B061 #303FB0
split-complementary
#B0307F #3FB030 #30B0A1
monochromatic
#50163A #80235C #B0307F #CF4E9E #DC7EB8

Accessibility & contrast

On white

5.87
#B0307F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B0307F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0307F
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0307F#FFFFFF#000000##FFFFFF
##B0307F1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425681
Deuteranopia (green-blind)
#676D7C
Tritanopia (blue-blind)
#BC2C53
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b0307f;
/* rgb */ color: rgb(176, 48, 127);
/* oklch */ color: oklch(52.9% 0.181 347.2);
Tailwind
colors: {
  custom: {
    50: '#cc74a4',
    500: '#b0307f',
    950: '#000000',
  },
}
SCSS
$custom: #b0307f;
$custom-light: #cc74a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b0307f",
  "rgb": {
    "r": 176,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 322.969,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52897,
    "c": 0.18121,
    "h": 347.2
  },
  "luminance": 0.12876
}

Semantic roles & 50–950 ramp

primary
#B0307F
secondary
#77C595
accent
#E08247
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B0307F

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

Preview Lab → · Contrast checker → · Palette generator →

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