#B0508E#B0508E

#B0508E is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.2% C 0.145 H 343.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B0508E
RGBrgb(176, 80, 142)
HSLhsl(321, 38%, 50%)
HSVhsv(321, 55%, 69%)
CMYKcmyk(0%, 54.5%, 19.3%, 31%)
CIE-LABlab(48.16, 46.58, -15.80)
CIE-LCHlch(48.16, 49.18, 341.26°)
OKLaboklab(57.2% 0.1387 -0.042)
OKLCHoklch(57.2% 0.145 343.1)
XYZxyz(25.6562, 16.9225, 27.5011)
Luminance0.1692 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0508E #50B072
analogous
#A250B0 #B0508E #B0505E
triadic
#B0508E #8EB050 #508EB0
tetradic
#B0508E #B0A250 #50B072 #505EB0
square
#B0508E #B0A250 #50B072 #505EB0
split-complementary
#B0508E #5EB050 #50B0A2
monochromatic
#5C2A4A #863D6C #B0508E #C37AA9 #D6A4C4

Accessibility & contrast

On white

4.79
#B0508E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#B0508E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0508E
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0508E#FFFFFF#000000##FFFFFF
##B0508E1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576890
Deuteranopia (green-blind)
#72788C
Tritanopia (blue-blind)
#BA5068
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b0508e;
/* rgb */ color: rgb(176, 80, 142);
/* oklch */ color: oklch(57.2% 0.145 343.1);
Tailwind
colors: {
  custom: {
    50: '#ca85af',
    500: '#b0508e',
    950: '#000000',
  },
}
SCSS
$custom: #b0508e;
$custom-light: #ca85af;
$custom-dark: #000000;
JSON
{
  "hex": "#b0508e",
  "rgb": {
    "r": 176,
    "g": 80,
    "b": 142
  },
  "hsl": {
    "h": 321.25,
    "s": 37.795,
    "l": 50.196
  },
  "oklch": {
    "l": 0.572,
    "c": 0.14492,
    "h": 343.1
  },
  "luminance": 0.1692
}

Semantic roles & 50–950 ramp

primary
#B0508E
secondary
#98C3A8
accent
#CE835A
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B10
muted
#827C7F

Preview Lab

Preview with #B0508E

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

Preview Lab → · Contrast checker → · Palette generator →

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