#BE40A9#BE40A9

#BE40A9 is a mid, vivid pink. Relative luminance 0.175; OKLCH L 58.5% C 0.198 H 335.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#BE40A9
RGBrgb(190, 64, 169)
HSLhsl(310, 50%, 50%)
HSVhsv(310, 66%, 75%)
CMYKcmyk(0%, 66.3%, 11.1%, 25.5%)
CIE-LABlab(48.86, 61.73, -30.58)
CIE-LCHlch(48.86, 68.89, 333.64°)
OKLaboklab(58.51% 0.1798 -0.0834)
OKLCHoklch(58.51% 0.198 335.1)
XYZxyz(30.2303, 17.4810, 39.3104)
Luminance0.1748 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE40A9 #40BE55
analogous
#9440BE #BE40A9 #BE406A
triadic
#BE40A9 #A9BE40 #40A9BE
tetradic
#BE40A9 #BE9440 #40BE55 #406ABE
square
#BE40A9 #BE9440 #40BE55 #406ABE
split-complementary
#BE40A9 #6ABE40 #40BE94
monochromatic
#622158 #903180 #BE40A9 #CE6DBE #DD9BD2

Accessibility & contrast

On white

4.67
#BE40A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#BE40A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BE40A9
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE40A9#FFFFFF#000000##FFFFFF
##BE40A91.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4068AC
Deuteranopia (green-blind)
#6A7BA6
Tritanopia (blue-blind)
#C7496F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #be40a9;
/* rgb */ color: rgb(190, 64, 169);
/* oklch */ color: oklch(58.5% 0.198 335.1);
Tailwind
colors: {
  custom: {
    50: '#d57ec3',
    500: '#be40a9',
    950: '#000000',
  },
}
SCSS
$custom: #be40a9;
$custom-light: #d57ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#be40a9",
  "rgb": {
    "r": 190,
    "g": 64,
    "b": 169
  },
  "hsl": {
    "h": 310,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58512,
    "c": 0.19818,
    "h": 335.1
  },
  "luminance": 0.17479
}

Semantic roles & 50–950 ramp

primary
#BE40A9
secondary
#90C99A
accent
#D9664F
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B12
muted
#837C81

Preview Lab

Preview with #BE40A9

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

Preview Lab → · Contrast checker → · Palette generator →

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