#B366A2#B366A2

#B366A2 is a mid, vivid pink. Relative luminance 0.217; OKLCH L 61.7% C 0.125 H 335.7°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B366A2
RGBrgb(179, 102, 162)
HSLhsl(313, 34%, 55%)
HSVhsv(313, 43%, 70%)
CMYKcmyk(0%, 43%, 9.5%, 29.8%)
CIE-LABlab(53.70, 39.47, -19.12)
CIE-LCHlch(53.70, 43.86, 334.15°)
OKLaboklab(61.68% 0.114 -0.0515)
OKLCHoklch(61.68% 0.125 335.7)
XYZxyz(29.8633, 21.6968, 36.7904)
Luminance0.2170 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366A2 #66B377
analogous
#9E66B3 #B366A2 #B3667B
triadic
#B366A2 #A2B366 #66A2B3
tetradic
#B366A2 #B39E66 #66B377 #667BB3
square
#B366A2 #B39E66 #66B377 #667BB3
split-complementary
#B366A2 #7BB366 #66B39E
monochromatic
#6A355E #934983 #B366A2 #C78FBB #DCB8D4

Accessibility & contrast

On white

3.93
#B366A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#B366A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366A2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366A2#FFFFFF#000000##000000
##B366A21.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6779A4
Deuteranopia (green-blind)
#7B85A0
Tritanopia (blue-blind)
#BA697D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b366a2;
/* rgb */ color: rgb(179, 102, 162);
/* oklch */ color: oklch(61.7% 0.125 335.7);
Tailwind
colors: {
  custom: {
    50: '#cb93bd',
    500: '#b366a2',
    950: '#000000',
  },
}
SCSS
$custom: #b366a2;
$custom-light: #cb93bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b366a2",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 162
  },
  "hsl": {
    "h": 313.247,
    "s": 33.624,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61676,
    "c": 0.12506,
    "h": 335.7
  },
  "luminance": 0.21695
}

Semantic roles & 50–950 ramp

primary
#B366A2
secondary
#AACBB1
accent
#CA765E
background
#FCF9FB
surface
#F9F1F6
border
#D2CBD0
text
#130D12
muted
#827E81

Preview Lab

Preview with #B366A2

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

Preview Lab → · Contrast checker → · Palette generator →

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