#B62797#B62797

#B62797 is a mid, highly saturated pink. Relative luminance 0.136; OKLCH L 54.2% C 0.209 H 338.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B62797
RGBrgb(182, 39, 151)
HSLhsl(313, 65%, 43%)
HSVhsv(313, 79%, 71%)
CMYKcmyk(0%, 78.6%, 17%, 28.6%)
CIE-LABlab(43.70, 65.58, -28.01)
CIE-LCHlch(43.70, 71.31, 336.88°)
OKLaboklab(54.25% 0.1949 -0.076)
OKLCHoklch(54.25% 0.209 338.7)
XYZxyz(25.6035, 13.6330, 30.5552)
Luminance0.1363 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B62797 #27B646
analogous
#8D27B6 #B62797 #B6274F
triadic
#B62797 #97B627 #2797B6
tetradic
#B62797 #B68D27 #27B646 #274FB6
square
#B62797 #B68D27 #27B646 #274FB6
split-complementary
#B62797 #4FB627 #27B68D
monochromatic
#511143 #841C6D #B62797 #D743B7 #E276CA

Accessibility & contrast

On white

5.64
#B62797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B62797
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B62797#FFFFFF#000000##FFFFFF
##B627971.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30599A
Deuteranopia (green-blind)
#616F94
Tritanopia (blue-blind)
#C12F5D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b62797;
/* rgb */ color: rgb(182, 39, 151);
/* oklch */ color: oklch(54.2% 0.209 338.7);
Tailwind
colors: {
  custom: {
    50: '#d072b6',
    500: '#b62797',
    950: '#000000',
  },
}
SCSS
$custom: #b62797;
$custom-light: #d072b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b62797",
  "rgb": {
    "r": 182,
    "g": 39,
    "b": 151
  },
  "hsl": {
    "h": 313.007,
    "s": 64.706,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54249,
    "c": 0.20917,
    "h": 338.7
  },
  "luminance": 0.1363
}

Semantic roles & 50–950 ramp

primary
#B62797
secondary
#70C983
accent
#E86440
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B62797

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

Preview Lab → · Contrast checker → · Palette generator →

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