#B6338B#B6338B

#B6338B is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.6% C 0.189 H 344.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#B6338B
RGBrgb(182, 51, 139)
HSLhsl(320, 56%, 46%)
HSVhsv(320, 72%, 71%)
CMYKcmyk(0%, 72%, 23.6%, 28.6%)
CIE-LABlab(44.49, 60.21, -19.52)
CIE-LCHlch(44.49, 63.30, 342.03°)
OKLaboklab(54.65% 0.1816 -0.0521)
OKLCHoklch(54.65% 0.189 344)
XYZxyz(25.1364, 14.1794, 25.8342)
Luminance0.1418 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6338B #33B65E
analogous
#9F33B6 #B6338B #B63349
triadic
#B6338B #8BB633 #338BB6
tetradic
#B6338B #B69F33 #33B65E #3349B6
square
#B6338B #B69F33 #33B65E #3349B6
split-complementary
#B6338B #49B633 #33B69F
monochromatic
#561842 #862666 #B6338B #D056A8 #DD86C1

Accessibility & contrast

On white

5.48
#B6338B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B6338B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B6338B
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6338B#FFFFFF#000000##FFFFFF
##B6338B1.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415B8D
Deuteranopia (green-blind)
#697188
Tritanopia (blue-blind)
#C2325B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b6338b;
/* rgb */ color: rgb(182, 51, 139);
/* oklch */ color: oklch(54.6% 0.189 344.0);
Tailwind
colors: {
  custom: {
    50: '#d076ad',
    500: '#b6338b',
    950: '#000000',
  },
}
SCSS
$custom: #b6338b;
$custom-light: #d076ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b6338b",
  "rgb": {
    "r": 182,
    "g": 51,
    "b": 139
  },
  "hsl": {
    "h": 319.695,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54645,
    "c": 0.18895,
    "h": 344
  },
  "luminance": 0.14177
}

Semantic roles & 50–950 ramp

primary
#B6338B
secondary
#7EC796
accent
#E07A48
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B6338B

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

Preview Lab → · Contrast checker → · Palette generator →

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