#B3398D#B3398D

#B3398D is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.8% C 0.181 H 342.6°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B3398D
RGBrgb(179, 57, 141)
HSLhsl(319, 52%, 46%)
HSVhsv(319, 68%, 70%)
CMYKcmyk(0%, 68.2%, 21.2%, 29.8%)
CIE-LABlab(44.85, 57.48, -20.22)
CIE-LCHlch(44.85, 60.93, 340.62°)
OKLaboklab(54.84% 0.1724 -0.0541)
OKLCHoklch(54.84% 0.181 342.6)
XYZxyz(24.8620, 14.4355, 26.6711)
Luminance0.1443 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3398D #39B35F
analogous
#9C39B3 #B3398D #B33950
triadic
#B3398D #8DB339 #398DB3
tetradic
#B3398D #B39C39 #39B35F #3950B3
square
#B3398D #B39C39 #39B35F #3950B3
split-complementary
#B3398D #50B339 #39B39C
monochromatic
#561B44 #852A68 #B3398D #CC5EA9 #DA8CC2

Accessibility & contrast

On white

5.40
#B3398D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B3398D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3398D
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3398D#FFFFFF#000000##FFFFFF
##B3398D1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445D8F
Deuteranopia (green-blind)
#69718A
Tritanopia (blue-blind)
#BE3A5E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b3398d;
/* rgb */ color: rgb(179, 57, 141);
/* oklch */ color: oklch(54.8% 0.181 342.6);
Tailwind
colors: {
  custom: {
    50: '#cd79ae',
    500: '#b3398d',
    950: '#000000',
  },
}
SCSS
$custom: #b3398d;
$custom-light: #cd79ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b3398d",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 318.689,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54839,
    "c": 0.18066,
    "h": 342.6
  },
  "luminance": 0.14433
}

Semantic roles & 50–950 ramp

primary
#B3398D
secondary
#83C597
accent
#DB794D
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B3398D

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

Preview Lab → · Contrast checker → · Palette generator →

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