#B6338F#B6338F

#B6338F is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.8% C 0.191 H 342.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#B6338F
RGBrgb(182, 51, 143)
HSLhsl(318, 56%, 46%)
HSVhsv(318, 72%, 71%)
CMYKcmyk(0%, 72%, 21.4%, 28.6%)
CIE-LABlab(44.66, 60.75, -21.69)
CIE-LCHlch(44.66, 64.50, 340.35°)
OKLaboklab(54.82% 0.1824 -0.0582)
OKLCHoklch(54.82% 0.191 342.3)
XYZxyz(25.4340, 14.2985, 27.4017)
Luminance0.1430 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6338F #33B65A
analogous
#9B33B6 #B6338F #B6334D
triadic
#B6338F #8FB633 #338FB6
tetradic
#B6338F #B69B33 #33B65A #334DB6
square
#B6338F #B69B33 #33B65A #334DB6
split-complementary
#B6338F #4DB633 #33B69B
monochromatic
#561844 #862669 #B6338F #D056AC #DD86C3

Accessibility & contrast

On white

5.44
#B6338F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B6338F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B6338F
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6338F#FFFFFF#000000##FFFFFF
##B6338F1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5C92
Deuteranopia (green-blind)
#68718C
Tritanopia (blue-blind)
#C1345D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b6338f;
/* rgb */ color: rgb(182, 51, 143);
/* oklch */ color: oklch(54.8% 0.191 342.3);
Tailwind
colors: {
  custom: {
    50: '#d076b0',
    500: '#b6338f',
    950: '#000000',
  },
}
SCSS
$custom: #b6338f;
$custom-light: #d076b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b6338f",
  "rgb": {
    "r": 182,
    "g": 51,
    "b": 143
  },
  "hsl": {
    "h": 317.863,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54823,
    "c": 0.19143,
    "h": 342.3
  },
  "luminance": 0.14296
}

Semantic roles & 50–950 ramp

primary
#B6338F
secondary
#7EC794
accent
#E07548
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B6338F

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

Preview Lab → · Contrast checker → · Palette generator →

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