#B3398C#B3398C

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

Color values

HEX#B3398C
RGBrgb(179, 57, 140)
HSLhsl(319, 52%, 46%)
HSVhsv(319, 68%, 70%)
CMYKcmyk(0%, 68.2%, 21.8%, 29.8%)
CIE-LABlab(44.81, 57.34, -19.68)
CIE-LCHlch(44.81, 60.63, 341.06°)
OKLaboklab(54.8% 0.1722 -0.0526)
OKLCHoklch(54.8% 0.18 343)
XYZxyz(24.7880, 14.4058, 26.2810)
Luminance0.1440 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3398C #39B360
analogous
#9D39B3 #B3398C #B3394F
triadic
#B3398C #8CB339 #398CB3
tetradic
#B3398C #B39D39 #39B360 #394FB3
square
#B3398C #B39D39 #39B360 #394FB3
split-complementary
#B3398C #4FB339 #39B39D
monochromatic
#561B43 #852A68 #B3398C #CC5EA8 #DA8CC1

Accessibility & contrast

On white

5.41
#B3398C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#B3398C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3398C
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3398C#FFFFFF#000000##FFFFFF
##B3398C1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445D8E
Deuteranopia (green-blind)
#697189
Tritanopia (blue-blind)
#BE395D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b3398c;
/* rgb */ color: rgb(179, 57, 140);
/* oklch */ color: oklch(54.8% 0.180 343.0);
Tailwind
colors: {
  custom: {
    50: '#cd79ad',
    500: '#b3398c',
    950: '#000000',
  },
}
SCSS
$custom: #b3398c;
$custom-light: #cd79ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b3398c",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 140
  },
  "hsl": {
    "h": 319.18,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54795,
    "c": 0.18002,
    "h": 343
  },
  "luminance": 0.14403
}

Semantic roles & 50–950 ramp

primary
#B3398C
secondary
#83C598
accent
#DB7A4D
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B3398C

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

Preview Lab → · Contrast checker → · Palette generator →

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