#BE40A1#BE40A1

#BE40A1 is a mid, vivid pink. Relative luminance 0.172; OKLCH L 58.1% C 0.192 H 338.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#BE40A1
RGBrgb(190, 64, 161)
HSLhsl(314, 50%, 50%)
HSVhsv(314, 66%, 75%)
CMYKcmyk(0%, 66.3%, 15.3%, 25.5%)
CIE-LABlab(48.50, 60.53, -26.42)
CIE-LCHlch(48.50, 66.04, 336.42°)
OKLaboklab(58.13% 0.1787 -0.0715)
OKLCHoklch(58.13% 0.192 338.2)
XYZxyz(29.5022, 17.1898, 35.4755)
Luminance0.1719 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE40A1 #40BE5D
analogous
#9C40BE #BE40A1 #BE4062
triadic
#BE40A1 #A1BE40 #40A1BE
tetradic
#BE40A1 #BE9C40 #40BE5D #4062BE
square
#BE40A1 #BE9C40 #40BE5D #4062BE
split-complementary
#BE40A1 #62BE40 #40BE9C
monochromatic
#622153 #90317A #BE40A1 #CE6DB8 #DD9BCE

Accessibility & contrast

On white

4.73
#BE40A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#BE40A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BE40A1
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE40A1#FFFFFF#000000##FFFFFF
##BE40A11.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4567A4
Deuteranopia (green-blind)
#6D7A9E
Tritanopia (blue-blind)
#C8456B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #be40a1;
/* rgb */ color: rgb(190, 64, 161);
/* oklch */ color: oklch(58.1% 0.192 338.2);
Tailwind
colors: {
  custom: {
    50: '#d57ebd',
    500: '#be40a1',
    950: '#000000',
  },
}
SCSS
$custom: #be40a1;
$custom-light: #d57ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#be40a1",
  "rgb": {
    "r": 190,
    "g": 64,
    "b": 161
  },
  "hsl": {
    "h": 313.81,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5813,
    "c": 0.19245,
    "h": 338.2
  },
  "luminance": 0.17187
}

Semantic roles & 50–950 ramp

primary
#BE40A1
secondary
#90C99E
accent
#D96F4F
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #BE40A1

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

Preview Lab → · Contrast checker → · Palette generator →

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