#B3398E#B3398E

#B3398E is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.9% C 0.181 H 342.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#B3398E
RGBrgb(179, 57, 142)
HSLhsl(318, 52%, 46%)
HSVhsv(318, 68%, 70%)
CMYKcmyk(0%, 68.2%, 20.7%, 29.8%)
CIE-LABlab(44.89, 57.62, -20.76)
CIE-LCHlch(44.89, 61.25, 340.18°)
OKLaboklab(54.88% 0.1726 -0.0556)
OKLCHoklch(54.88% 0.181 342.1)
XYZxyz(24.9368, 14.4654, 27.0647)
Luminance0.1446 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3398E #39B35E
analogous
#9B39B3 #B3398E #B33951
triadic
#B3398E #8EB339 #398EB3
tetradic
#B3398E #B39B39 #39B35E #3951B3
square
#B3398E #B39B39 #39B35E #3951B3
split-complementary
#B3398E #51B339 #39B39B
monochromatic
#561B44 #852A69 #B3398E #CC5EAA #DA8CC3

Accessibility & contrast

On white

5.39
#B3398E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B3398E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3398E
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3398E#FFFFFF#000000##FFFFFF
##B3398E1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435D90
Deuteranopia (green-blind)
#68718B
Tritanopia (blue-blind)
#BE3A5E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b3398e;
/* rgb */ color: rgb(179, 57, 142);
/* oklch */ color: oklch(54.9% 0.181 342.1);
Tailwind
colors: {
  custom: {
    50: '#cd79af',
    500: '#b3398e',
    950: '#000000',
  },
}
SCSS
$custom: #b3398e;
$custom-light: #cd79af;
$custom-dark: #000000;
JSON
{
  "hex": "#b3398e",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 318.197,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54884,
    "c": 0.1813,
    "h": 342.1
  },
  "luminance": 0.14463
}

Semantic roles & 50–950 ramp

primary
#B3398E
secondary
#83C597
accent
#DB784D
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B3398E

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

Preview Lab → · Contrast checker → · Palette generator →

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