#B52395#B52395

#B52395 is a mid, highly saturated pink. Relative luminance 0.132; OKLCH L 53.7% C 0.211 H 339.1°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#B52395
RGBrgb(181, 35, 149)
HSLhsl(313, 68%, 42%)
HSVhsv(313, 81%, 71%)
CMYKcmyk(0%, 80.7%, 17.7%, 29%)
CIE-LABlab(43.06, 66.14, -27.81)
CIE-LCHlch(43.06, 71.75, 337.19°)
OKLaboklab(53.72% 0.197 -0.0754)
OKLCHoklch(53.72% 0.211 339.1)
XYZxyz(25.0826, 13.1983, 29.6545)
Luminance0.1320 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52395 #23B543
analogous
#8C23B5 #B52395 #B5234C
triadic
#B52395 #95B523 #2395B5
tetradic
#B52395 #B58C23 #23B543 #234CB5
square
#B52395 #B58C23 #23B543 #234CB5
split-complementary
#B52395 #4CB523 #23B58C
monochromatic
#4E0F41 #82196B #B52395 #D93CB7 #E36FCA

Accessibility & contrast

On white

5.77
#B52395 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#B52395 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52395
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52395#FFFFFF#000000##FFFFFF
##B523951.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5798
Deuteranopia (green-blind)
#5F6E92
Tritanopia (blue-blind)
#C02B5B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b52395;
/* rgb */ color: rgb(181, 35, 149);
/* oklch */ color: oklch(53.7% 0.211 339.1);
Tailwind
colors: {
  custom: {
    50: '#cf70b4',
    500: '#b52395',
    950: '#000000',
  },
}
SCSS
$custom: #b52395;
$custom-light: #cf70b4;
$custom-dark: #000000;
JSON
{
  "hex": "#b52395",
  "rgb": {
    "r": 181,
    "g": 35,
    "b": 149
  },
  "hsl": {
    "h": 313.151,
    "s": 67.593,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53724,
    "c": 0.2109,
    "h": 339.1
  },
  "luminance": 0.13196
}

Semantic roles & 50–950 ramp

primary
#B52395
secondary
#6ACA7F
accent
#EA633D
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52395

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

Preview Lab → · Contrast checker → · Palette generator →

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