#B3397D#B3397D

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

Color values

HEX#B3397D
RGBrgb(179, 57, 125)
HSLhsl(327, 52%, 46%)
HSVhsv(327, 68%, 70%)
CMYKcmyk(0%, 68.2%, 30.2%, 29.8%)
CIE-LABlab(44.22, 55.37, -11.44)
CIE-LCHlch(44.22, 56.54, 348.33°)
OKLaboklab(54.17% 0.1686 -0.0298)
OKLCHoklch(54.17% 0.171 350)
XYZxyz(23.7564, 13.9932, 20.8479)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3397D #39B36F
analogous
#AC39B3 #B3397D #B33940
triadic
#B3397D #7DB339 #397DB3
tetradic
#B3397D #B3AC39 #39B36F #3940B3
square
#B3397D #B3AC39 #39B36F #3940B3
split-complementary
#B3397D #40B339 #39B3AC
monochromatic
#561B3C #852A5D #B3397D #CC5E9B #DA8CB8

Accessibility & contrast

On white

5.53
#B3397D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B3397D
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3397D#FFFFFF#000000##FFFFFF
##B3397D1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3397d;
/* rgb */ color: rgb(179, 57, 125);
/* oklch */ color: oklch(54.2% 0.171 350.0);
Tailwind
colors: {
  custom: {
    50: '#ce78a2',
    500: '#b3397d',
    950: '#000000',
  },
}
SCSS
$custom: #b3397d;
$custom-light: #ce78a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b3397d",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 326.557,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54174,
    "c": 0.17126,
    "h": 350
  },
  "luminance": 0.13991
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B3397D

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

Preview Lab → · Contrast checker → · Palette generator →

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