#BE40A8#BE40A8

#BE40A8 is a mid, vivid pink. Relative luminance 0.174; OKLCH L 58.5% C 0.197 H 335.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#BE40A8
RGBrgb(190, 64, 168)
HSLhsl(310, 50%, 50%)
HSVhsv(310, 66%, 75%)
CMYKcmyk(0%, 66.3%, 11.6%, 25.5%)
CIE-LABlab(48.81, 61.58, -30.07)
CIE-LCHlch(48.81, 68.53, 333.98°)
OKLaboklab(58.46% 0.1797 -0.0819)
OKLCHoklch(58.46% 0.197 335.5)
XYZxyz(30.1368, 17.4436, 38.8179)
Luminance0.1744 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE40A8 #40BE56
analogous
#9540BE #BE40A8 #BE4069
triadic
#BE40A8 #A8BE40 #40A8BE
tetradic
#BE40A8 #BE9540 #40BE56 #4069BE
square
#BE40A8 #BE9540 #40BE56 #4069BE
split-complementary
#BE40A8 #69BE40 #40BE95
monochromatic
#622157 #903180 #BE40A8 #CE6DBD #DD9BD2

Accessibility & contrast

On white

4.68
#BE40A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#BE40A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BE40A8
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE40A8#FFFFFF#000000##FFFFFF
##BE40A81.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4168AB
Deuteranopia (green-blind)
#6A7BA5
Tritanopia (blue-blind)
#C7486E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #be40a8;
/* rgb */ color: rgb(190, 64, 168);
/* oklch */ color: oklch(58.5% 0.197 335.5);
Tailwind
colors: {
  custom: {
    50: '#d57ec2',
    500: '#be40a8',
    950: '#000000',
  },
}
SCSS
$custom: #be40a8;
$custom-light: #d57ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#be40a8",
  "rgb": {
    "r": 190,
    "g": 64,
    "b": 168
  },
  "hsl": {
    "h": 310.476,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58463,
    "c": 0.19745,
    "h": 335.5
  },
  "luminance": 0.17441
}

Semantic roles & 50–950 ramp

primary
#BE40A8
secondary
#90C99A
accent
#D9674F
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #BE40A8

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

Preview Lab → · Contrast checker → · Palette generator →

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