#B1398A#B1398A

#B1398A is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.4% C 0.177 H 343.2°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#B1398A
RGBrgb(177, 57, 138)
HSLhsl(320, 51%, 46%)
HSVhsv(320, 68%, 69%)
CMYKcmyk(0%, 67.8%, 22%, 30.6%)
CIE-LABlab(44.39, 56.52, -19.14)
CIE-LCHlch(44.39, 59.68, 341.29°)
OKLaboklab(54.4% 0.1698 -0.0511)
OKLCHoklch(54.4% 0.177 343.2)
XYZxyz(24.1828, 14.1107, 25.4899)
Luminance0.1411 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1398A #39B160
analogous
#9C39B1 #B1398A #B1394E
triadic
#B1398A #8AB139 #398AB1
tetradic
#B1398A #B19C39 #39B160 #394EB1
square
#B1398A #B19C39 #39B160 #394EB1
split-complementary
#B1398A #4EB139 #39B19C
monochromatic
#541B42 #832A66 #B1398A #CB5DA7 #DA8BC0

Accessibility & contrast

On white

5.50
#B1398A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#B1398A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1398A
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1398A#FFFFFF#000000##FFFFFF
##B1398A1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445C8C
Deuteranopia (green-blind)
#687087
Tritanopia (blue-blind)
#BC395C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b1398a;
/* rgb */ color: rgb(177, 57, 138);
/* oklch */ color: oklch(54.4% 0.177 343.2);
Tailwind
colors: {
  custom: {
    50: '#cc78ac',
    500: '#b1398a',
    950: '#000000',
  },
}
SCSS
$custom: #b1398a;
$custom-light: #cc78ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b1398a",
  "rgb": {
    "r": 177,
    "g": 57,
    "b": 138
  },
  "hsl": {
    "h": 319.5,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54398,
    "c": 0.1773,
    "h": 343.2
  },
  "luminance": 0.14108
}

Semantic roles & 50–950 ramp

primary
#B1398A
secondary
#82C497
accent
#DB7B4D
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B1398A

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

Preview Lab → · Contrast checker → · Palette generator →

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