#B3397B#B3397B

#B3397B is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.1% C 0.170 H 350.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B3397B
RGBrgb(179, 57, 123)
HSLhsl(328, 52%, 46%)
HSVhsv(328, 68%, 70%)
CMYKcmyk(0%, 68.2%, 31.3%, 29.8%)
CIE-LABlab(44.15, 55.13, -10.33)
CIE-LCHlch(44.15, 56.09, 349.39°)
OKLaboklab(54.1% 0.1681 -0.0268)
OKLCHoklch(54.1% 0.17 350.9)
XYZxyz(23.6299, 13.9426, 20.1818)
Luminance0.1394 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3397B #39B371
analogous
#AE39B3 #B3397B #B3393E
triadic
#B3397B #7BB339 #397BB3
tetradic
#B3397B #B3AE39 #39B371 #393EB3
square
#B3397B #B3AE39 #39B371 #393EB3
split-complementary
#B3397B #3EB339 #39B3AE
monochromatic
#561B3B #852A5B #B3397B #CC5E99 #DA8CB6

Accessibility & contrast

On white

5.54
#B3397B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#B3397B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3397B
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3397B#FFFFFF#000000##FFFFFF
##B3397B1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5B7D
Deuteranopia (green-blind)
#6E7078
Tritanopia (blue-blind)
#C03255
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b3397b;
/* rgb */ color: rgb(179, 57, 123);
/* oklch */ color: oklch(54.1% 0.170 350.9);
Tailwind
colors: {
  custom: {
    50: '#ce78a1',
    500: '#b3397b',
    950: '#000000',
  },
}
SCSS
$custom: #b3397b;
$custom-light: #ce78a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b3397b",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 327.541,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54096,
    "c": 0.17022,
    "h": 350.9
  },
  "luminance": 0.1394
}

Semantic roles & 50–950 ramp

primary
#B3397B
secondary
#83C5A1
accent
#DB8E4D
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#140A0E
muted
#837C7E

Preview Lab

Preview with #B3397B

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

Preview Lab → · Contrast checker → · Palette generator →

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