#B641A2#B641A2

#B641A2 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 57.1% C 0.187 H 335.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B641A2
RGBrgb(182, 65, 162)
HSLhsl(310, 47%, 48%)
HSVhsv(310, 64%, 71%)
CMYKcmyk(0%, 64.3%, 11%, 28.6%)
CIE-LABlab(47.41, 58.18, -28.80)
CIE-LCHlch(47.41, 64.92, 333.67°)
OKLaboklab(57.11% 0.1694 -0.0784)
OKLCHoklch(57.11% 0.187 335.2)
XYZxyz(27.7035, 16.3366, 35.8696)
Luminance0.1633 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B641A2 #41B655
analogous
#8F41B6 #B641A2 #B64168
triadic
#B641A2 #A2B641 #41A2B6
tetradic
#B641A2 #B68F41 #41B655 #4168B6
square
#B641A2 #B68F41 #41B655 #4168B6
split-complementary
#B641A2 #68B641 #41B68F
monochromatic
#5C2152 #89317A #B641A2 #CA6ABA #DA97CF

Accessibility & contrast

On white

4.92
#B641A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#B641A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B641A2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B641A2#FFFFFF#000000##FFFFFF
##B641A21.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4165A5
Deuteranopia (green-blind)
#67779F
Tritanopia (blue-blind)
#BF496C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b641a2;
/* rgb */ color: rgb(182, 65, 162);
/* oklch */ color: oklch(57.1% 0.187 335.2);
Tailwind
colors: {
  custom: {
    50: '#cf7ebe',
    500: '#b641a2',
    950: '#000000',
  },
}
SCSS
$custom: #b641a2;
$custom-light: #cf7ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#b641a2",
  "rgb": {
    "r": 182,
    "g": 65,
    "b": 162
  },
  "hsl": {
    "h": 310.256,
    "s": 47.368,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57105,
    "c": 0.18663,
    "h": 335.2
  },
  "luminance": 0.16334
}

Semantic roles & 50–950 ramp

primary
#B641A2
secondary
#8DC697
accent
#D76851
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B641A2

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

Preview Lab → · Contrast checker → · Palette generator →

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