#BE40A4#BE40A4

#BE40A4 is a mid, vivid pink. Relative luminance 0.173; OKLCH L 58.3% C 0.195 H 337.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#BE40A4
RGBrgb(190, 64, 164)
HSLhsl(312, 50%, 50%)
HSVhsv(312, 66%, 75%)
CMYKcmyk(0%, 66.3%, 13.7%, 25.5%)
CIE-LABlab(48.63, 60.97, -27.99)
CIE-LCHlch(48.63, 67.09, 335.35°)
OKLaboklab(58.27% 0.1791 -0.076)
OKLCHoklch(58.27% 0.195 337)
XYZxyz(29.7699, 17.2969, 36.8855)
Luminance0.1729 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE40A4 #40BE5A
analogous
#9940BE #BE40A4 #BE4065
triadic
#BE40A4 #A4BE40 #40A4BE
tetradic
#BE40A4 #BE9940 #40BE5A #4065BE
square
#BE40A4 #BE9940 #40BE5A #4065BE
split-complementary
#BE40A4 #65BE40 #40BE99
monochromatic
#622155 #90317C #BE40A4 #CE6DBA #DD9BD0

Accessibility & contrast

On white

4.71
#BE40A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#BE40A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BE40A4
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE40A4#FFFFFF#000000##FFFFFF
##BE40A41.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4367A7
Deuteranopia (green-blind)
#6C7AA1
Tritanopia (blue-blind)
#C8476C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #be40a4;
/* rgb */ color: rgb(190, 64, 164);
/* oklch */ color: oklch(58.3% 0.195 337.0);
Tailwind
colors: {
  custom: {
    50: '#d57ebf',
    500: '#be40a4',
    950: '#000000',
  },
}
SCSS
$custom: #be40a4;
$custom-light: #d57ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#be40a4",
  "rgb": {
    "r": 190,
    "g": 64,
    "b": 164
  },
  "hsl": {
    "h": 312.381,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58271,
    "c": 0.19457,
    "h": 337
  },
  "luminance": 0.17294
}

Semantic roles & 50–950 ramp

primary
#BE40A4
secondary
#90C99C
accent
#D96B4F
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #BE40A4

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

Preview Lab → · Contrast checker → · Palette generator →

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