#B62798#B62798

#B62798 is a mid, highly saturated pink. Relative luminance 0.137; OKLCH L 54.3% C 0.210 H 338.3°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B62798
RGBrgb(182, 39, 152)
HSLhsl(313, 65%, 43%)
HSVhsv(313, 79%, 71%)
CMYKcmyk(0%, 78.6%, 16.5%, 28.6%)
CIE-LABlab(43.75, 65.72, -28.53)
CIE-LCHlch(43.75, 71.65, 336.53°)
OKLaboklab(54.3% 0.195 -0.0775)
OKLCHoklch(54.3% 0.21 338.3)
XYZxyz(25.6850, 13.6656, 30.9847)
Luminance0.1366 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B62798 #27B645
analogous
#8C27B6 #B62798 #B62751
triadic
#B62798 #98B627 #2798B6
tetradic
#B62798 #B68C27 #27B645 #2751B6
square
#B62798 #B68C27 #27B645 #2751B6
split-complementary
#B62798 #51B627 #27B68C
monochromatic
#511144 #841C6E #B62798 #D743B8 #E276CB

Accessibility & contrast

On white

5.63
#B62798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#B62798 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B62798
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B62798#FFFFFF#000000##FFFFFF
##B627981.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F599B
Deuteranopia (green-blind)
#606F95
Tritanopia (blue-blind)
#C02F5E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b62798;
/* rgb */ color: rgb(182, 39, 152);
/* oklch */ color: oklch(54.3% 0.210 338.3);
Tailwind
colors: {
  custom: {
    50: '#d072b6',
    500: '#b62798',
    950: '#000000',
  },
}
SCSS
$custom: #b62798;
$custom-light: #d072b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b62798",
  "rgb": {
    "r": 182,
    "g": 39,
    "b": 152
  },
  "hsl": {
    "h": 312.587,
    "s": 64.706,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54299,
    "c": 0.20983,
    "h": 338.3
  },
  "luminance": 0.13663
}

Semantic roles & 50–950 ramp

primary
#B62798
secondary
#70C982
accent
#E86340
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B62798

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

Preview Lab → · Contrast checker → · Palette generator →

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