#B52492#B52492

#B52492 is a mid, highly saturated pink. Relative luminance 0.132; OKLCH L 53.6% C 0.208 H 340.2°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B52492
RGBrgb(181, 36, 146)
HSLhsl(314, 67%, 43%)
HSVhsv(314, 80%, 71%)
CMYKcmyk(0%, 80.1%, 19.3%, 29%)
CIE-LABlab(43.01, 65.48, -26.08)
CIE-LCHlch(43.01, 70.48, 338.29°)
OKLaboklab(53.64% 0.1959 -0.0705)
OKLCHoklch(53.64% 0.208 340.2)
XYZxyz(24.8760, 13.1634, 28.4193)
Luminance0.1316 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52492 #24B547
analogous
#9024B5 #B52492 #B52449
triadic
#B52492 #92B524 #2492B5
tetradic
#B52492 #B59024 #24B547 #2449B5
square
#B52492 #B59024 #24B547 #2449B5
split-complementary
#B52492 #49B524 #24B590
monochromatic
#4F1040 #821A69 #B52492 #D93EB3 #E371C7

Accessibility & contrast

On white

5.78
#B52492 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#B52492 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52492
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52492#FFFFFF#000000##FFFFFF
##B524921.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305795
Deuteranopia (green-blind)
#616E8F
Tritanopia (blue-blind)
#C0295A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b52492;
/* rgb */ color: rgb(181, 36, 146);
/* oklch */ color: oklch(53.6% 0.208 340.2);
Tailwind
colors: {
  custom: {
    50: '#cf70b2',
    500: '#b52492',
    950: '#000000',
  },
}
SCSS
$custom: #b52492;
$custom-light: #cf70b2;
$custom-dark: #000000;
JSON
{
  "hex": "#b52492",
  "rgb": {
    "r": 181,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 314.483,
    "s": 66.82,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5364,
    "c": 0.20814,
    "h": 340.2
  },
  "luminance": 0.13161
}

Semantic roles & 50–950 ramp

primary
#B52492
secondary
#6BC982
accent
#EA683E
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52492

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

Preview Lab → · Contrast checker → · Palette generator →

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