#B4398E#B4398E

#B4398E is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.0% C 0.182 H 342.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#B4398E
RGBrgb(180, 57, 142)
HSLhsl(319, 52%, 46%)
HSVhsv(319, 68%, 71%)
CMYKcmyk(0%, 68.3%, 21.1%, 29.4%)
CIE-LABlab(45.06, 57.89, -20.49)
CIE-LCHlch(45.06, 61.41, 340.51°)
OKLaboklab(55.04% 0.1735 -0.0549)
OKLCHoklch(55.04% 0.182 342.5)
XYZxyz(25.1688, 14.5850, 27.0756)
Luminance0.1458 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4398E #39B45F
analogous
#9D39B4 #B4398E #B43950
triadic
#B4398E #8EB439 #398EB4
tetradic
#B4398E #B49D39 #39B45F #3950B4
square
#B4398E #B49D39 #39B45F #3950B4
split-complementary
#B4398E #50B439 #39B49D
monochromatic
#571C45 #862A69 #B4398E #CC5EAA #DB8DC3

Accessibility & contrast

On white

5.36
#B4398E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#B4398E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4398E
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4398E#FFFFFF#000000##FFFFFF
##B4398E1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445E90
Deuteranopia (green-blind)
#69728B
Tritanopia (blue-blind)
#BF3A5E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b4398e;
/* rgb */ color: rgb(180, 57, 142);
/* oklch */ color: oklch(55.0% 0.182 342.5);
Tailwind
colors: {
  custom: {
    50: '#ce79af',
    500: '#b4398e',
    950: '#000000',
  },
}
SCSS
$custom: #b4398e;
$custom-light: #ce79af;
$custom-dark: #000000;
JSON
{
  "hex": "#b4398e",
  "rgb": {
    "r": 180,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 318.537,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55038,
    "c": 0.18201,
    "h": 342.5
  },
  "luminance": 0.14583
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4398E

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

Preview Lab → · Contrast checker → · Palette generator →

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