#BE40A2#BE40A2

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

Color values

HEX#BE40A2
RGBrgb(190, 64, 162)
HSLhsl(313, 50%, 50%)
HSVhsv(313, 66%, 75%)
CMYKcmyk(0%, 66.3%, 14.7%, 25.5%)
CIE-LABlab(48.54, 60.68, -26.94)
CIE-LCHlch(48.54, 66.39, 336.06°)
OKLaboklab(58.18% 0.1788 -0.073)
OKLCHoklch(58.18% 0.193 337.8)
XYZxyz(29.5907, 17.2252, 35.9418)
Luminance0.1722 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE40A2 #40BE5C
analogous
#9B40BE #BE40A2 #BE4063
triadic
#BE40A2 #A2BE40 #40A2BE
tetradic
#BE40A2 #BE9B40 #40BE5C #4063BE
square
#BE40A2 #BE9B40 #40BE5C #4063BE
split-complementary
#BE40A2 #63BE40 #40BE9B
monochromatic
#622154 #90317B #BE40A2 #CE6DB8 #DD9BCF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BE40A2#FFFFFF#000000##FFFFFF
##BE40A21.004.724.444.72
#FFFFFF4.721.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4467A5
Deuteranopia (green-blind)
#6C7A9F
Tritanopia (blue-blind)
#C8466B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #be40a2;
/* rgb */ color: rgb(190, 64, 162);
/* oklch */ color: oklch(58.2% 0.193 337.8);
Tailwind
colors: {
  custom: {
    50: '#d57ebe',
    500: '#be40a2',
    950: '#000000',
  },
}
SCSS
$custom: #be40a2;
$custom-light: #d57ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#be40a2",
  "rgb": {
    "r": 190,
    "g": 64,
    "b": 162
  },
  "hsl": {
    "h": 313.333,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58177,
    "c": 0.19315,
    "h": 337.8
  },
  "luminance": 0.17223
}

Semantic roles & 50–950 ramp

primary
#BE40A2
secondary
#90C99D
accent
#D96D4F
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #BE40A2

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

Preview Lab → · Contrast checker → · Palette generator →

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