#B645A2#B645A2

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

Color values

HEX#B645A2
RGBrgb(182, 69, 162)
HSLhsl(311, 45%, 49%)
HSVhsv(311, 62%, 71%)
CMYKcmyk(0%, 62.1%, 11%, 28.6%)
CIE-LABlab(48.02, 56.50, -27.85)
CIE-LCHlch(48.02, 62.99, 333.76°)
OKLaboklab(57.55% 0.1644 -0.0757)
OKLCHoklch(57.55% 0.181 335.3)
XYZxyz(27.9414, 16.8122, 35.9489)
Luminance0.1681 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B645A2 #45B659
analogous
#9245B6 #B645A2 #B6456A
triadic
#B645A2 #A2B645 #45A2B6
tetradic
#B645A2 #B69245 #45B659 #456AB6
square
#B645A2 #B69245 #45B659 #456AB6
split-complementary
#B645A2 #6AB645 #45B692
monochromatic
#5D2353 #8A347B #B645A2 #C970B9 #D99CCF

Accessibility & contrast

On white

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

On black

4.36
#B645A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B645A2#FFFFFF#000000##FFFFFF
##B645A21.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4567A5
Deuteranopia (green-blind)
#69789F
Tritanopia (blue-blind)
#BF4C6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b645a2;
/* rgb */ color: rgb(182, 69, 162);
/* oklch */ color: oklch(57.6% 0.181 335.3);
Tailwind
colors: {
  custom: {
    50: '#cf80be',
    500: '#b645a2',
    950: '#000000',
  },
}
SCSS
$custom: #b645a2;
$custom-light: #cf80be;
$custom-dark: #000000;
JSON
{
  "hex": "#b645a2",
  "rgb": {
    "r": 182,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 310.619,
    "s": 45.02,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5755,
    "c": 0.18101,
    "h": 335.3
  },
  "luminance": 0.1681
}

Semantic roles & 50–950 ramp

primary
#B645A2
secondary
#91C69A
accent
#D56A53
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #B645A2

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

Preview Lab → · Contrast checker → · Palette generator →

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