#B52895#B52895

#B52895 is a mid, highly saturated pink. Relative luminance 0.135; OKLCH L 54.1% C 0.206 H 339.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#B52895
RGBrgb(181, 40, 149)
HSLhsl(314, 64%, 43%)
HSVhsv(314, 78%, 71%)
CMYKcmyk(0%, 77.9%, 17.7%, 29%)
CIE-LABlab(43.53, 64.80, -27.08)
CIE-LCHlch(43.53, 70.23, 337.32°)
OKLaboklab(54.06% 0.1929 -0.0734)
OKLCHoklch(54.06% 0.206 339.2)
XYZxyz(25.2403, 13.5138, 29.7071)
Luminance0.1351 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52895 #28B548
analogous
#8E28B5 #B52895 #B5284E
triadic
#B52895 #95B528 #2895B5
tetradic
#B52895 #B58E28 #28B548 #284EB5
square
#B52895 #B58E28 #28B548 #284EB5
split-complementary
#B52895 #4EB528 #28B58E
monochromatic
#511242 #831D6C #B52895 #D644B5 #E177C9

Accessibility & contrast

On white

5.67
#B52895 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#B52895 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52895
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52895#FFFFFF#000000##FFFFFF
##B528951.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315998
Deuteranopia (green-blind)
#616F92
Tritanopia (blue-blind)
#C02F5C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b52895;
/* rgb */ color: rgb(181, 40, 149);
/* oklch */ color: oklch(54.1% 0.206 339.2);
Tailwind
colors: {
  custom: {
    50: '#cf72b4',
    500: '#b52895',
    950: '#000000',
  },
}
SCSS
$custom: #b52895;
$custom-light: #cf72b4;
$custom-dark: #000000;
JSON
{
  "hex": "#b52895",
  "rgb": {
    "r": 181,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 313.617,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5406,
    "c": 0.20638,
    "h": 339.2
  },
  "luminance": 0.13511
}

Semantic roles & 50–950 ramp

primary
#B52895
secondary
#70C884
accent
#E76741
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52895

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

Preview Lab → · Contrast checker → · Palette generator →

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