#BE40A3#BE40A3

#BE40A3 is a mid, vivid pink. Relative luminance 0.173; OKLCH L 58.2% C 0.194 H 337.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#BE40A3
RGBrgb(190, 64, 163)
HSLhsl(313, 50%, 50%)
HSVhsv(313, 66%, 75%)
CMYKcmyk(0%, 66.3%, 14.2%, 25.5%)
CIE-LABlab(48.59, 60.83, -27.46)
CIE-LCHlch(48.59, 66.74, 335.70°)
OKLaboklab(58.22% 0.179 -0.0745)
OKLCHoklch(58.22% 0.194 337.4)
XYZxyz(29.6800, 17.2609, 36.4118)
Luminance0.1726 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE40A3 #40BE5B
analogous
#9A40BE #BE40A3 #BE4064
triadic
#BE40A3 #A3BE40 #40A3BE
tetradic
#BE40A3 #BE9A40 #40BE5B #4064BE
square
#BE40A3 #BE9A40 #40BE5B #4064BE
split-complementary
#BE40A3 #64BE40 #40BE9A
monochromatic
#622154 #90317C #BE40A3 #CE6DB9 #DD9BCF

Accessibility & contrast

On white

4.72
#BE40A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#BE40A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BE40A3
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE40A3#FFFFFF#000000##FFFFFF
##BE40A31.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4467A6
Deuteranopia (green-blind)
#6C7AA0
Tritanopia (blue-blind)
#C8466C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #be40a3;
/* rgb */ color: rgb(190, 64, 163);
/* oklch */ color: oklch(58.2% 0.194 337.4);
Tailwind
colors: {
  custom: {
    50: '#d57ebe',
    500: '#be40a3',
    950: '#000000',
  },
}
SCSS
$custom: #be40a3;
$custom-light: #d57ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#be40a3",
  "rgb": {
    "r": 190,
    "g": 64,
    "b": 163
  },
  "hsl": {
    "h": 312.857,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58224,
    "c": 0.19385,
    "h": 337.4
  },
  "luminance": 0.17258
}

Semantic roles & 50–950 ramp

primary
#BE40A3
secondary
#90C99D
accent
#D96C4F
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #BE40A3

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

Preview Lab → · Contrast checker → · Palette generator →

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