#B3397A#B3397A

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

Color values

HEX#B3397A
RGBrgb(179, 57, 122)
HSLhsl(328, 52%, 46%)
HSVhsv(328, 68%, 70%)
CMYKcmyk(0%, 68.2%, 31.8%, 29.8%)
CIE-LABlab(44.11, 55.01, -9.77)
CIE-LCHlch(44.11, 55.87, 349.93°)
OKLaboklab(54.06% 0.1678 -0.0253)
OKLCHoklch(54.06% 0.17 351.4)
XYZxyz(23.5676, 13.9177, 19.8538)
Luminance0.1391 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3397A #39B372
analogous
#AF39B3 #B3397A #B3393D
triadic
#B3397A #7AB339 #397AB3
tetradic
#B3397A #B3AF39 #39B372 #393DB3
square
#B3397A #B3AF39 #39B372 #393DB3
split-complementary
#B3397A #3DB339 #39B3AF
monochromatic
#561B3B #852A5A #B3397A #CC5E98 #DA8CB6

Accessibility & contrast

On white

5.55
#B3397A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B3397A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3397A
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3397A#FFFFFF#000000##FFFFFF
##B3397A1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5A7C
Deuteranopia (green-blind)
#6E7077
Tritanopia (blue-blind)
#C03254
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b3397a;
/* rgb */ color: rgb(179, 57, 122);
/* oklch */ color: oklch(54.1% 0.170 351.4);
Tailwind
colors: {
  custom: {
    50: '#ce78a0',
    500: '#b3397a',
    950: '#000000',
  },
}
SCSS
$custom: #b3397a;
$custom-light: #ce78a0;
$custom-dark: #000000;
JSON
{
  "hex": "#b3397a",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 328.033,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54058,
    "c": 0.16971,
    "h": 351.4
  },
  "luminance": 0.13915
}

Semantic roles & 50–950 ramp

primary
#B3397A
secondary
#83C5A2
accent
#DB8F4D
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#140A0E
muted
#837C7E

Preview Lab

Preview with #B3397A

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

Preview Lab → · Contrast checker → · Palette generator →

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