#B6338C#B6338C

#B6338C is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.7% C 0.190 H 343.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B6338C
RGBrgb(182, 51, 140)
HSLhsl(319, 56%, 46%)
HSVhsv(319, 72%, 71%)
CMYKcmyk(0%, 72%, 23.1%, 28.6%)
CIE-LABlab(44.53, 60.34, -20.07)
CIE-LCHlch(44.53, 63.59, 341.61°)
OKLaboklab(54.69% 0.1818 -0.0536)
OKLCHoklch(54.69% 0.19 343.6)
XYZxyz(25.2098, 14.2088, 26.2208)
Luminance0.1421 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6338C #33B65D
analogous
#9E33B6 #B6338C #B6334A
triadic
#B6338C #8CB633 #338CB6
tetradic
#B6338C #B69E33 #33B65D #334AB6
square
#B6338C #B69E33 #33B65D #334AB6
split-complementary
#B6338C #4AB633 #33B69E
monochromatic
#561842 #862667 #B6338C #D056A9 #DD86C1

Accessibility & contrast

On white

5.47
#B6338C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B6338C
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6338C#FFFFFF#000000##FFFFFF
##B6338C1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415B8E
Deuteranopia (green-blind)
#697189
Tritanopia (blue-blind)
#C2335B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b6338c;
/* rgb */ color: rgb(182, 51, 140);
/* oklch */ color: oklch(54.7% 0.190 343.6);
Tailwind
colors: {
  custom: {
    50: '#d076ad',
    500: '#b6338c',
    950: '#000000',
  },
}
SCSS
$custom: #b6338c;
$custom-light: #d076ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b6338c",
  "rgb": {
    "r": 182,
    "g": 51,
    "b": 140
  },
  "hsl": {
    "h": 319.237,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54689,
    "c": 0.18957,
    "h": 343.6
  },
  "luminance": 0.14206
}

Semantic roles & 50–950 ramp

primary
#B6338C
secondary
#7EC795
accent
#E07948
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B6338C

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

Preview Lab → · Contrast checker → · Palette generator →

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