#B0509C#B0509C

#B0509C is a mid, vivid pink. Relative luminance 0.174; OKLCH L 57.8% C 0.155 H 336.1°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B0509C
RGBrgb(176, 80, 156)
HSLhsl(313, 38%, 50%)
HSVhsv(313, 55%, 69%)
CMYKcmyk(0%, 54.5%, 11.4%, 31%)
CIE-LABlab(48.72, 48.79, -23.28)
CIE-LCHlch(48.72, 54.06, 334.49°)
OKLaboklab(57.8% 0.142 -0.063)
OKLCHoklch(57.8% 0.155 336.1)
XYZxyz(26.7741, 17.3697, 33.3886)
Luminance0.1737 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0509C #50B064
analogous
#9450B0 #B0509C #B0506C
triadic
#B0509C #9CB050 #509CB0
tetradic
#B0509C #B09450 #50B064 #506CB0
square
#B0509C #B09450 #50B064 #506CB0
split-complementary
#B0509C #6CB050 #50B094
monochromatic
#5C2A52 #863D77 #B0509C #C37AB4 #D6A4CC

Accessibility & contrast

On white

4.69
#B0509C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#B0509C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0509C
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0509C#FFFFFF#000000##FFFFFF
##B0509C1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516B9E
Deuteranopia (green-blind)
#6D7999
Tritanopia (blue-blind)
#B8546F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b0509c;
/* rgb */ color: rgb(176, 80, 156);
/* oklch */ color: oklch(57.8% 0.155 336.1);
Tailwind
colors: {
  custom: {
    50: '#ca85b9',
    500: '#b0509c',
    950: '#000000',
  },
}
SCSS
$custom: #b0509c;
$custom-light: #ca85b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b0509c",
  "rgb": {
    "r": 176,
    "g": 80,
    "b": 156
  },
  "hsl": {
    "h": 312.5,
    "s": 37.795,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57799,
    "c": 0.15531,
    "h": 336.1
  },
  "luminance": 0.17368
}

Semantic roles & 50–950 ramp

primary
#B0509C
secondary
#98C3A1
accent
#CE725A
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #B0509C

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

Preview Lab → · Contrast checker → · Palette generator →

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