#BE31A5#BE31A5

#BE31A5 is a mid, highly saturated pink. Relative luminance 0.159; OKLCH L 57.0% C 0.213 H 336.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#BE31A5
RGBrgb(190, 49, 165)
HSLhsl(311, 59%, 47%)
HSVhsv(311, 74%, 75%)
CMYKcmyk(0%, 74.2%, 13.2%, 25.5%)
CIE-LABlab(46.79, 66.43, -31.45)
CIE-LCHlch(46.79, 73.49, 334.67°)
OKLaboklab(56.96% 0.195 -0.0857)
OKLCHoklch(56.96% 0.213 336.3)
XYZxyz(29.1255, 15.8631, 37.1180)
Luminance0.1586 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE31A5 #31BE4A
analogous
#9131BE #BE31A5 #BE315F
triadic
#BE31A5 #A5BE31 #31A5BE
tetradic
#BE31A5 #BE9131 #31BE4A #315FBE
square
#BE31A5 #BE9131 #31BE4A #315FBE
split-complementary
#BE31A5 #5FBE31 #31BE91
monochromatic
#5D1850 #8D247B #BE31A5 #D458BE #E189D1

Accessibility & contrast

On white

5.03
#BE31A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#BE31A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BE31A5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE31A5#FFFFFF#000000##FFFFFF
##BE31A51.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3361A8
Deuteranopia (green-blind)
#6576A2
Tritanopia (blue-blind)
#C83B68
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #be31a5;
/* rgb */ color: rgb(190, 49, 165);
/* oklch */ color: oklch(57.0% 0.213 336.3);
Tailwind
colors: {
  custom: {
    50: '#d677c0',
    500: '#be31a5',
    950: '#000000',
  },
}
SCSS
$custom: #be31a5;
$custom-light: #d677c0;
$custom-dark: #000000;
JSON
{
  "hex": "#be31a5",
  "rgb": {
    "r": 190,
    "g": 49,
    "b": 165
  },
  "hsl": {
    "h": 310.638,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56955,
    "c": 0.21304,
    "h": 336.3
  },
  "luminance": 0.1586
}

Semantic roles & 50–950 ramp

primary
#BE31A5
secondary
#80CA8E
accent
#E26146
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BE31A5

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

Preview Lab → · Contrast checker → · Palette generator →

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