#BE40A6#BE40A6

#BE40A6 is a mid, vivid pink. Relative luminance 0.174; OKLCH L 58.4% C 0.196 H 336.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#BE40A6
RGBrgb(190, 64, 166)
HSLhsl(311, 50%, 50%)
HSVhsv(311, 66%, 75%)
CMYKcmyk(0%, 66.3%, 12.6%, 25.5%)
CIE-LABlab(48.72, 61.27, -29.03)
CIE-LCHlch(48.72, 67.80, 334.65°)
OKLaboklab(58.37% 0.1794 -0.0789)
OKLCHoklch(58.37% 0.196 336.3)
XYZxyz(29.9519, 17.3697, 37.8442)
Luminance0.1737 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE40A6 #40BE58
analogous
#9740BE #BE40A6 #BE4067
triadic
#BE40A6 #A6BE40 #40A6BE
tetradic
#BE40A6 #BE9740 #40BE58 #4067BE
square
#BE40A6 #BE9740 #40BE58 #4067BE
split-complementary
#BE40A6 #67BE40 #40BE97
monochromatic
#622156 #90317E #BE40A6 #CE6DBC #DD9BD1

Accessibility & contrast

On white

4.69
#BE40A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#BE40A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BE40A6
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE40A6#FFFFFF#000000##FFFFFF
##BE40A61.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4268A9
Deuteranopia (green-blind)
#6B7BA3
Tritanopia (blue-blind)
#C8476D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #be40a6;
/* rgb */ color: rgb(190, 64, 166);
/* oklch */ color: oklch(58.4% 0.196 336.3);
Tailwind
colors: {
  custom: {
    50: '#d57ec0',
    500: '#be40a6',
    950: '#000000',
  },
}
SCSS
$custom: #be40a6;
$custom-light: #d57ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#be40a6",
  "rgb": {
    "r": 190,
    "g": 64,
    "b": 166
  },
  "hsl": {
    "h": 311.429,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58367,
    "c": 0.196,
    "h": 336.3
  },
  "luminance": 0.17367
}

Semantic roles & 50–950 ramp

primary
#BE40A6
secondary
#90C99B
accent
#D9694F
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #BE40A6

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

Preview Lab → · Contrast checker → · Palette generator →

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