#B0507F#B0507F

#B0507F is a mid, vivid pink. Relative luminance 0.165; OKLCH L 56.6% C 0.136 H 351.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B0507F
RGBrgb(176, 80, 127)
HSLhsl(331, 38%, 50%)
HSVhsv(331, 55%, 69%)
CMYKcmyk(0%, 54.5%, 27.8%, 31%)
CIE-LABlab(47.63, 44.41, -7.59)
CIE-LCHlch(47.63, 45.06, 350.30°)
OKLaboklab(56.62% 0.1344 -0.0196)
OKLCHoklch(56.62% 0.136 351.7)
XYZxyz(24.6049, 16.5020, 21.9639)
Luminance0.1650 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0507F #50B081
analogous
#B050AF #B0507F #B05150
triadic
#B0507F #7FB050 #507FB0
tetradic
#B0507F #AFB050 #50B081 #5150B0
square
#B0507F #AFB050 #50B081 #5150B0
split-complementary
#B0507F #50B051 #50AFB0
monochromatic
#5C2A42 #863D61 #B0507F #C37A9E #D6A4BD

Accessibility & contrast

On white

4.88
#B0507F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#B0507F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0507F
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0507F#FFFFFF#000000##FFFFFF
##B0507F1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6681
Deuteranopia (green-blind)
#76777D
Tritanopia (blue-blind)
#BC4C62
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b0507f;
/* rgb */ color: rgb(176, 80, 127);
/* oklch */ color: oklch(56.6% 0.136 351.7);
Tailwind
colors: {
  custom: {
    50: '#ca85a4',
    500: '#b0507f',
    950: '#000000',
  },
}
SCSS
$custom: #b0507f;
$custom-light: #ca85a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b0507f",
  "rgb": {
    "r": 176,
    "g": 80,
    "b": 127
  },
  "hsl": {
    "h": 330.625,
    "s": 37.795,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56624,
    "c": 0.13578,
    "h": 351.7
  },
  "luminance": 0.165
}

Semantic roles & 50–950 ramp

primary
#B0507F
secondary
#98C3AE
accent
#CE955A
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B0F
muted
#827C7F

Preview Lab

Preview with #B0507F

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

Preview Lab → · Contrast checker → · Palette generator →

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