#B6338E#B6338E

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

Color values

HEX#B6338E
RGBrgb(182, 51, 142)
HSLhsl(318, 56%, 46%)
HSVhsv(318, 72%, 71%)
CMYKcmyk(0%, 72%, 22%, 28.6%)
CIE-LABlab(44.62, 60.61, -21.15)
CIE-LCHlch(44.62, 64.19, 340.76°)
OKLaboklab(54.78% 0.1822 -0.0566)
OKLCHoklch(54.78% 0.191 342.7)
XYZxyz(25.3586, 14.2683, 27.0045)
Luminance0.1427 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6338E #33B65B
analogous
#9C33B6 #B6338E #B6334C
triadic
#B6338E #8EB633 #338EB6
tetradic
#B6338E #B69C33 #33B65B #334CB6
square
#B6338E #B69C33 #33B65B #334CB6
split-complementary
#B6338E #4CB633 #33B69C
monochromatic
#561843 #862669 #B6338E #D056AB #DD86C3

Accessibility & contrast

On white

5.45
#B6338E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B6338E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B6338E
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6338E#FFFFFF#000000##FFFFFF
##B6338E1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405C91
Deuteranopia (green-blind)
#68718B
Tritanopia (blue-blind)
#C2345C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b6338e;
/* rgb */ color: rgb(182, 51, 142);
/* oklch */ color: oklch(54.8% 0.191 342.7);
Tailwind
colors: {
  custom: {
    50: '#d076af',
    500: '#b6338e',
    950: '#000000',
  },
}
SCSS
$custom: #b6338e;
$custom-light: #d076af;
$custom-dark: #000000;
JSON
{
  "hex": "#b6338e",
  "rgb": {
    "r": 182,
    "g": 51,
    "b": 142
  },
  "hsl": {
    "h": 318.321,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54778,
    "c": 0.1908,
    "h": 342.7
  },
  "luminance": 0.14266
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B6338E

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

Preview Lab → · Contrast checker → · Palette generator →

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