#B3396B#B3396B

#B3396B is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.5% C 0.163 H 359.1°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B3396B
RGBrgb(179, 57, 107)
HSLhsl(335, 52%, 46%)
HSVhsv(335, 68%, 70%)
CMYKcmyk(0%, 68.2%, 40.2%, 29.8%)
CIE-LABlab(43.62, 53.29, -1.26)
CIE-LCHlch(43.62, 53.31, 358.64°)
OKLaboklab(53.53% 0.1632 -0.0026)
OKLCHoklch(53.53% 0.163 359.1)
XYZxyz(22.7089, 13.5742, 15.3313)
Luminance0.1357 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3396B #39B381
analogous
#B339A8 #B3396B #B34439
triadic
#B3396B #6BB339 #396BB3
tetradic
#B3396B #A8B339 #39B381 #4439B3
square
#B3396B #A8B339 #39B381 #4439B3
split-complementary
#B3396B #39B344 #39A8B3
monochromatic
#561B34 #852A4F #B3396B #CC5E8B #DA8CAC

Accessibility & contrast

On white

5.65
#B3396B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B3396B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3396B
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3396B#FFFFFF#000000##FFFFFF
##B3396B1.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51586C
Deuteranopia (green-blind)
#727068
Tritanopia (blue-blind)
#C22B4D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b3396b;
/* rgb */ color: rgb(179, 57, 107);
/* oklch */ color: oklch(53.5% 0.163 359.1);
Tailwind
colors: {
  custom: {
    50: '#ce7895',
    500: '#b3396b',
    950: '#000000',
  },
}
SCSS
$custom: #b3396b;
$custom-light: #ce7895;
$custom-dark: #000000;
JSON
{
  "hex": "#b3396b",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 107
  },
  "hsl": {
    "h": 335.41,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53527,
    "c": 0.16322,
    "h": 359.1
  },
  "luminance": 0.13571
}

Semantic roles & 50–950 ramp

primary
#B3396B
secondary
#83C5AA
accent
#DBA14D
background
#FDF7F9
surface
#FAEEF1
border
#D3C9CB
text
#14090D
muted
#837B7E

Preview Lab

Preview with #B3396B

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

Preview Lab → · Contrast checker → · Palette generator →

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