#B53798#B53798

#B53798 is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.5% C 0.192 H 338.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B53798
RGBrgb(181, 55, 152)
HSLhsl(314, 53%, 46%)
HSVhsv(314, 70%, 71%)
CMYKcmyk(0%, 69.6%, 16%, 29%)
CIE-LABlab(45.39, 60.32, -25.98)
CIE-LCHlch(45.39, 65.68, 336.69°)
OKLaboklab(55.46% 0.1785 -0.0703)
OKLCHoklch(55.46% 0.192 338.5)
XYZxyz(26.0903, 14.8255, 31.1872)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B53798 #37B554
analogous
#9337B5 #B53798 #B53759
triadic
#B53798 #98B537 #3798B5
tetradic
#B53798 #B59337 #37B554 #3759B5
square
#B53798 #B59337 #37B554 #3759B5
split-complementary
#B53798 #59B537 #37B593
monochromatic
#571A49 #862971 #B53798 #CD5CB3 #DC8BC9

Accessibility & contrast

On white

5.30
#B53798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#B53798 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B53798
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B53798#FFFFFF#000000##FFFFFF
##B537981.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5F9B
Deuteranopia (green-blind)
#657395
Tritanopia (blue-blind)
#BF3C63
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b53798;
/* rgb */ color: rgb(181, 55, 152);
/* oklch */ color: oklch(55.5% 0.192 338.5);
Tailwind
colors: {
  custom: {
    50: '#cf78b6',
    500: '#b53798',
    950: '#000000',
  },
}
SCSS
$custom: #b53798;
$custom-light: #cf78b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b53798",
  "rgb": {
    "r": 181,
    "g": 55,
    "b": 152
  },
  "hsl": {
    "h": 313.81,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55456,
    "c": 0.19187,
    "h": 338.5
  },
  "luminance": 0.14823
}

Semantic roles & 50–950 ramp

primary
#B53798
secondary
#82C692
accent
#DD6D4B
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A11
muted
#837C80

Preview Lab

Preview with #B53798

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

Preview Lab → · Contrast checker → · Palette generator →

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