#B3398B#B3398B

#B3398B is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.8% C 0.179 H 343.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#B3398B
RGBrgb(179, 57, 139)
HSLhsl(320, 52%, 46%)
HSVhsv(320, 68%, 70%)
CMYKcmyk(0%, 68.2%, 22.3%, 29.8%)
CIE-LABlab(44.77, 57.20, -19.14)
CIE-LCHlch(44.77, 60.32, 341.50°)
OKLaboklab(54.75% 0.172 -0.0511)
OKLCHoklch(54.75% 0.179 343.4)
XYZxyz(24.7146, 14.3765, 25.8944)
Luminance0.1437 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3398B #39B361
analogous
#9E39B3 #B3398B #B3394E
triadic
#B3398B #8BB339 #398BB3
tetradic
#B3398B #B39E39 #39B361 #394EB3
square
#B3398B #B39E39 #39B361 #394EB3
split-complementary
#B3398B #4EB339 #39B39E
monochromatic
#561B43 #852A67 #B3398B #CC5EA8 #DA8CC1

Accessibility & contrast

On white

5.42
#B3398B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B3398B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3398B
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3398B#FFFFFF#000000##FFFFFF
##B3398B1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455D8D
Deuteranopia (green-blind)
#697188
Tritanopia (blue-blind)
#BE395D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b3398b;
/* rgb */ color: rgb(179, 57, 139);
/* oklch */ color: oklch(54.8% 0.179 343.4);
Tailwind
colors: {
  custom: {
    50: '#cd79ad',
    500: '#b3398b',
    950: '#000000',
  },
}
SCSS
$custom: #b3398b;
$custom-light: #cd79ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b3398b",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 139
  },
  "hsl": {
    "h": 319.672,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54752,
    "c": 0.17938,
    "h": 343.4
  },
  "luminance": 0.14374
}

Semantic roles & 50–950 ramp

primary
#B3398B
secondary
#83C599
accent
#DB7B4D
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B3398B

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

Preview Lab → · Contrast checker → · Palette generator →

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