#B2508A#B2508A

#B2508A is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.3% C 0.144 H 346.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B2508A
RGBrgb(178, 80, 138)
HSLhsl(324, 39%, 51%)
HSVhsv(324, 55%, 70%)
CMYKcmyk(0%, 55.1%, 22.5%, 30.2%)
CIE-LABlab(48.31, 46.61, -13.15)
CIE-LCHlch(48.31, 48.43, 344.24°)
OKLaboklab(57.32% 0.1398 -0.0347)
OKLCHoklch(57.32% 0.144 346.1)
XYZxyz(25.8169, 17.0395, 25.9691)
Luminance0.1704 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2508A #50B278
analogous
#A950B2 #B2508A #B25059
triadic
#B2508A #8AB250 #508AB2
tetradic
#B2508A #B2A950 #50B278 #5059B2
square
#B2508A #B2A950 #50B278 #5059B2
split-complementary
#B2508A #59B250 #50B2A9
monochromatic
#5E2949 #893C69 #B2508A #C57AA6 #D7A5C3

Accessibility & contrast

On white

4.76
#B2508A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#B2508A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2508A
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2508A#FFFFFF#000000##FFFFFF
##B2508A1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59688C
Deuteranopia (green-blind)
#747988
Tritanopia (blue-blind)
#BD4F67
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b2508a;
/* rgb */ color: rgb(178, 80, 138);
/* oklch */ color: oklch(57.3% 0.144 346.1);
Tailwind
colors: {
  custom: {
    50: '#cc85ac',
    500: '#b2508a',
    950: '#000000',
  },
}
SCSS
$custom: #b2508a;
$custom-light: #cc85ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b2508a",
  "rgb": {
    "r": 178,
    "g": 80,
    "b": 138
  },
  "hsl": {
    "h": 324.49,
    "s": 38.889,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5732,
    "c": 0.14404,
    "h": 346.1
  },
  "luminance": 0.17037
}

Semantic roles & 50–950 ramp

primary
#B2508A
secondary
#99C5AB
accent
#CF8959
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#140B10
muted
#827C7F

Preview Lab

Preview with #B2508A

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

Preview Lab → · Contrast checker → · Palette generator →

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