#B642A2#B642A2

#B642A2 is a mid, vivid pink. Relative luminance 0.165; OKLCH L 57.2% C 0.185 H 335.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B642A2
RGBrgb(182, 66, 162)
HSLhsl(310, 47%, 49%)
HSVhsv(310, 64%, 71%)
CMYKcmyk(0%, 63.7%, 11%, 28.6%)
CIE-LABlab(47.56, 57.77, -28.56)
CIE-LCHlch(47.56, 64.44, 333.69°)
OKLaboklab(57.21% 0.1681 -0.0778)
OKLCHoklch(57.21% 0.185 335.2)
XYZxyz(27.7615, 16.4524, 35.8889)
Luminance0.1645 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B642A2 #42B656
analogous
#9042B6 #B642A2 #B64268
triadic
#B642A2 #A2B642 #42A2B6
tetradic
#B642A2 #B69042 #42B656 #4268B6
square
#B642A2 #B69042 #42B656 #4268B6
split-complementary
#B642A2 #68B642 #42B690
monochromatic
#5C2152 #89327A #B642A2 #CA6CB9 #DA99CF

Accessibility & contrast

On white

4.90
#B642A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#B642A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B642A2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B642A2#FFFFFF#000000##FFFFFF
##B642A21.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b642a2;
/* rgb */ color: rgb(182, 66, 162);
/* oklch */ color: oklch(57.2% 0.185 335.2);
Tailwind
colors: {
  custom: {
    50: '#cf7ebe',
    500: '#b642a2',
    950: '#000000',
  },
}
SCSS
$custom: #b642a2;
$custom-light: #cf7ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#b642a2",
  "rgb": {
    "r": 182,
    "g": 66,
    "b": 162
  },
  "hsl": {
    "h": 310.345,
    "s": 46.774,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57214,
    "c": 0.18524,
    "h": 335.2
  },
  "luminance": 0.1645
}

Semantic roles & 50–950 ramp

primary
#B642A2
secondary
#8EC698
accent
#D66851
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B642A2

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

Preview Lab → · Contrast checker → · Palette generator →

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