#B3397E#B3397E

#B3397E is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.2% C 0.172 H 349.5°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B3397E
RGBrgb(179, 57, 126)
HSLhsl(326, 52%, 46%)
HSVhsv(326, 68%, 70%)
CMYKcmyk(0%, 68.2%, 29.6%, 29.8%)
CIE-LABlab(44.26, 55.50, -12.00)
CIE-LCHlch(44.26, 56.78, 347.80°)
OKLaboklab(54.21% 0.1689 -0.0314)
OKLCHoklch(54.21% 0.172 349.5)
XYZxyz(23.8206, 14.0189, 21.1861)
Luminance0.1402 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3397E #39B36E
analogous
#AB39B3 #B3397E #B33941
triadic
#B3397E #7EB339 #397EB3
tetradic
#B3397E #B3AB39 #39B36E #3941B3
square
#B3397E #B3AB39 #39B36E #3941B3
split-complementary
#B3397E #41B339 #39B3AB
monochromatic
#561B3D #852A5D #B3397E #CC5E9C #DA8CB8

Accessibility & contrast

On white

5.52
#B3397E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B3397E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3397E
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3397E#FFFFFF#000000##FFFFFF
##B3397E1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5B80
Deuteranopia (green-blind)
#6D717B
Tritanopia (blue-blind)
#C03356
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b3397e;
/* rgb */ color: rgb(179, 57, 126);
/* oklch */ color: oklch(54.2% 0.172 349.5);
Tailwind
colors: {
  custom: {
    50: '#ce78a3',
    500: '#b3397e',
    950: '#000000',
  },
}
SCSS
$custom: #b3397e;
$custom-light: #ce78a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b3397e",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 326.066,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54213,
    "c": 0.17179,
    "h": 349.5
  },
  "luminance": 0.14016
}

Semantic roles & 50–950 ramp

primary
#B3397E
secondary
#83C5A0
accent
#DB8B4D
background
#FDF7FA
surface
#FAEEF3
border
#D3C9CD
text
#140A0F
muted
#837C7F

Preview Lab

Preview with #B3397E

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

Preview Lab → · Contrast checker → · Palette generator →

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