#B645A3#B645A3

#B645A3 is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.6% C 0.182 H 334.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B645A3
RGBrgb(182, 69, 163)
HSLhsl(310, 45%, 49%)
HSVhsv(310, 62%, 71%)
CMYKcmyk(0%, 62.1%, 10.4%, 28.6%)
CIE-LABlab(48.07, 56.66, -28.37)
CIE-LCHlch(48.07, 63.36, 333.40°)
OKLaboklab(57.6% 0.1646 -0.0772)
OKLCHoklch(57.6% 0.182 334.9)
XYZxyz(28.0306, 16.8479, 36.4189)
Luminance0.1685 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B645A3 #45B658
analogous
#9145B6 #B645A3 #B6456B
triadic
#B645A3 #A3B645 #45A3B6
tetradic
#B645A3 #B69145 #45B658 #456BB6
square
#B645A3 #B69145 #45B658 #456BB6
split-complementary
#B645A3 #6BB645 #45B691
monochromatic
#5D2354 #8A347B #B645A3 #C970BA #D99CCF

Accessibility & contrast

On white

4.81
#B645A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#B645A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B645A3
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B645A3#FFFFFF#000000##FFFFFF
##B645A31.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4567A6
Deuteranopia (green-blind)
#6878A0
Tritanopia (blue-blind)
#BE4C6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b645a3;
/* rgb */ color: rgb(182, 69, 163);
/* oklch */ color: oklch(57.6% 0.182 334.9);
Tailwind
colors: {
  custom: {
    50: '#cf80be',
    500: '#b645a3',
    950: '#000000',
  },
}
SCSS
$custom: #b645a3;
$custom-light: #cf80be;
$custom-dark: #000000;
JSON
{
  "hex": "#b645a3",
  "rgb": {
    "r": 182,
    "g": 69,
    "b": 163
  },
  "hsl": {
    "h": 310.088,
    "s": 45.02,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57598,
    "c": 0.18177,
    "h": 334.9
  },
  "luminance": 0.16846
}

Semantic roles & 50–950 ramp

primary
#B645A3
secondary
#91C69A
accent
#D56953
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #B645A3

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

Preview Lab → · Contrast checker → · Palette generator →

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