#BE40A5#BE40A5

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

Color values

HEX#BE40A5
RGBrgb(190, 64, 165)
HSLhsl(312, 50%, 50%)
HSVhsv(312, 66%, 75%)
CMYKcmyk(0%, 66.3%, 13.2%, 25.5%)
CIE-LABlab(48.68, 61.12, -28.51)
CIE-LCHlch(48.68, 67.45, 335.00°)
OKLaboklab(58.32% 0.1793 -0.0774)
OKLCHoklch(58.32% 0.195 336.6)
XYZxyz(29.8606, 17.3331, 37.3630)
Luminance0.1733 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE40A5 #40BE59
analogous
#9840BE #BE40A5 #BE4066
triadic
#BE40A5 #A5BE40 #40A5BE
tetradic
#BE40A5 #BE9840 #40BE59 #4066BE
square
#BE40A5 #BE9840 #40BE59 #4066BE
split-complementary
#BE40A5 #66BE40 #40BE98
monochromatic
#622155 #90317D #BE40A5 #CE6DBB #DD9BD0

Accessibility & contrast

On white

4.70
#BE40A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BE40A5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE40A5#FFFFFF#000000##FFFFFF
##BE40A51.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4267A8
Deuteranopia (green-blind)
#6B7BA2
Tritanopia (blue-blind)
#C8476D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #be40a5;
/* rgb */ color: rgb(190, 64, 165);
/* oklch */ color: oklch(58.3% 0.195 336.6);
Tailwind
colors: {
  custom: {
    50: '#d57ec0',
    500: '#be40a5',
    950: '#000000',
  },
}
SCSS
$custom: #be40a5;
$custom-light: #d57ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#be40a5",
  "rgb": {
    "r": 190,
    "g": 64,
    "b": 165
  },
  "hsl": {
    "h": 311.905,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58319,
    "c": 0.19528,
    "h": 336.6
  },
  "luminance": 0.17331
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BE40A5

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

Preview Lab → · Contrast checker → · Palette generator →

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