#B6338A#B6338A

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

Color values

HEX#B6338A
RGBrgb(182, 51, 138)
HSLhsl(320, 56%, 46%)
HSVhsv(320, 72%, 71%)
CMYKcmyk(0%, 72%, 24.2%, 28.6%)
CIE-LABlab(44.45, 60.08, -18.98)
CIE-LCHlch(44.45, 63.01, 342.47°)
OKLaboklab(54.6% 0.1814 -0.0506)
OKLCHoklch(54.6% 0.188 344.4)
XYZxyz(25.0636, 14.1503, 25.4512)
Luminance0.1415 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6338A #33B65F
analogous
#A033B6 #B6338A #B63348
triadic
#B6338A #8AB633 #338AB6
tetradic
#B6338A #B6A033 #33B65F #3348B6
square
#B6338A #B6A033 #33B65F #3348B6
split-complementary
#B6338A #48B633 #33B6A0
monochromatic
#561842 #862666 #B6338A #D056A7 #DD86C0

Accessibility & contrast

On white

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

On black

3.83
#B6338A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B6338A#FFFFFF#000000##FFFFFF
##B6338A1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425B8C
Deuteranopia (green-blind)
#697187
Tritanopia (blue-blind)
#C2325A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b6338a;
/* rgb */ color: rgb(182, 51, 138);
/* oklch */ color: oklch(54.6% 0.188 344.4);
Tailwind
colors: {
  custom: {
    50: '#d076ac',
    500: '#b6338a',
    950: '#000000',
  },
}
SCSS
$custom: #b6338a;
$custom-light: #d076ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b6338a",
  "rgb": {
    "r": 182,
    "g": 51,
    "b": 138
  },
  "hsl": {
    "h": 320.153,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54602,
    "c": 0.18835,
    "h": 344.4
  },
  "luminance": 0.14148
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B6338A

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

Preview Lab → · Contrast checker → · Palette generator →

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