#B2507C#B2507C

#B2507C is a mid, vivid pink. Relative luminance 0.167; OKLCH L 56.8% C 0.136 H 354.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B2507C
RGBrgb(178, 80, 124)
HSLhsl(333, 39%, 51%)
HSVhsv(333, 55%, 70%)
CMYKcmyk(0%, 55.1%, 30.3%, 30.2%)
CIE-LABlab(47.83, 44.67, -5.45)
CIE-LCHlch(47.83, 45.00, 353.04°)
OKLaboklab(56.8% 0.1356 -0.0138)
OKLCHoklch(56.8% 0.136 354.2)
XYZxyz(24.8679, 16.6599, 20.9709)
Luminance0.1666 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2507C #50B286
analogous
#B250AD #B2507C #B25550
triadic
#B2507C #7CB250 #507CB2
tetradic
#B2507C #ADB250 #50B286 #5550B2
square
#B2507C #ADB250 #50B286 #5550B2
split-complementary
#B2507C #50B255 #50ADB2
monochromatic
#5E2941 #893C5E #B2507C #C57A9C #D7A5BC

Accessibility & contrast

On white

4.85
#B2507C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#B2507C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2507C
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2507C#FFFFFF#000000##FFFFFF
##B2507C1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E667D
Deuteranopia (green-blind)
#78787A
Tritanopia (blue-blind)
#BE4B61
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b2507c;
/* rgb */ color: rgb(178, 80, 124);
/* oklch */ color: oklch(56.8% 0.136 354.2);
Tailwind
colors: {
  custom: {
    50: '#cc85a1',
    500: '#b2507c',
    950: '#000000',
  },
}
SCSS
$custom: #b2507c;
$custom-light: #cc85a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b2507c",
  "rgb": {
    "r": 178,
    "g": 80,
    "b": 124
  },
  "hsl": {
    "h": 333.061,
    "s": 38.889,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56803,
    "c": 0.13625,
    "h": 354.2
  },
  "luminance": 0.16658
}

Semantic roles & 50–950 ramp

primary
#B2507C
secondary
#99C5B1
accent
#CF9A59
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0F
muted
#827C7E

Preview Lab

Preview with #B2507C

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

Preview Lab → · Contrast checker → · Palette generator →

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