#B6338D#B6338D

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

Color values

HEX#B6338D
RGBrgb(182, 51, 141)
HSLhsl(319, 56%, 46%)
HSVhsv(319, 72%, 71%)
CMYKcmyk(0%, 72%, 22.5%, 28.6%)
CIE-LABlab(44.57, 60.48, -20.61)
CIE-LCHlch(44.57, 63.89, 341.18°)
OKLaboklab(54.73% 0.182 -0.0551)
OKLCHoklch(54.73% 0.19 343.1)
XYZxyz(25.2838, 14.2384, 26.6109)
Luminance0.1424 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6338D #33B65C
analogous
#9D33B6 #B6338D #B6334B
triadic
#B6338D #8DB633 #338DB6
tetradic
#B6338D #B69D33 #33B65C #334BB6
square
#B6338D #B69D33 #33B65C #334BB6
split-complementary
#B6338D #4BB633 #33B69D
monochromatic
#561843 #862668 #B6338D #D056AA #DD86C2

Accessibility & contrast

On white

5.46
#B6338D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B6338D
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6338D#FFFFFF#000000##FFFFFF
##B6338D1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405C90
Deuteranopia (green-blind)
#68718A
Tritanopia (blue-blind)
#C2335C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b6338d;
/* rgb */ color: rgb(182, 51, 141);
/* oklch */ color: oklch(54.7% 0.190 343.1);
Tailwind
colors: {
  custom: {
    50: '#d076ae',
    500: '#b6338d',
    950: '#000000',
  },
}
SCSS
$custom: #b6338d;
$custom-light: #d076ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b6338d",
  "rgb": {
    "r": 182,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 318.779,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54734,
    "c": 0.19018,
    "h": 343.1
  },
  "luminance": 0.14236
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B6338D

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

Preview Lab → · Contrast checker → · Palette generator →

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