#B3398A#B3398A

#B3398A is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.7% C 0.179 H 343.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B3398A
RGBrgb(179, 57, 138)
HSLhsl(320, 52%, 46%)
HSVhsv(320, 68%, 70%)
CMYKcmyk(0%, 68.2%, 22.9%, 29.8%)
CIE-LABlab(44.73, 57.07, -18.60)
CIE-LCHlch(44.73, 60.02, 341.95°)
OKLaboklab(54.71% 0.1718 -0.0496)
OKLCHoklch(54.71% 0.179 343.9)
XYZxyz(24.6418, 14.3474, 25.5114)
Luminance0.1434 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3398A #39B362
analogous
#9F39B3 #B3398A #B3394D
triadic
#B3398A #8AB339 #398AB3
tetradic
#B3398A #B39F39 #39B362 #394DB3
square
#B3398A #B39F39 #39B362 #394DB3
split-complementary
#B3398A #4DB339 #39B39F
monochromatic
#561B42 #852A66 #B3398A #CC5EA7 #DA8CC0

Accessibility & contrast

On white

5.43
#B3398A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B3398A
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3398A#FFFFFF#000000##FFFFFF
##B3398A1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455D8C
Deuteranopia (green-blind)
#6A7187
Tritanopia (blue-blind)
#BE395C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b3398a;
/* rgb */ color: rgb(179, 57, 138);
/* oklch */ color: oklch(54.7% 0.179 343.9);
Tailwind
colors: {
  custom: {
    50: '#cd79ac',
    500: '#b3398a',
    950: '#000000',
  },
}
SCSS
$custom: #b3398a;
$custom-light: #cd79ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b3398a",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 138
  },
  "hsl": {
    "h": 320.164,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54708,
    "c": 0.17876,
    "h": 343.9
  },
  "luminance": 0.14345
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B3398A

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

Preview Lab → · Contrast checker → · Palette generator →

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