#B1398E#B1398E

#B1398E is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.6% C 0.180 H 341.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#B1398E
RGBrgb(177, 57, 142)
HSLhsl(318, 51%, 46%)
HSVhsv(318, 68%, 69%)
CMYKcmyk(0%, 67.8%, 19.8%, 30.6%)
CIE-LABlab(44.56, 57.08, -21.31)
CIE-LCHlch(44.56, 60.93, 339.53°)
OKLaboklab(54.58% 0.1706 -0.0572)
OKLCHoklch(54.58% 0.18 341.5)
XYZxyz(24.4778, 14.2287, 27.0432)
Luminance0.1423 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1398E #39B15C
analogous
#9839B1 #B1398E #B13952
triadic
#B1398E #8EB139 #398EB1
tetradic
#B1398E #B19839 #39B15C #3952B1
square
#B1398E #B19839 #39B15C #3952B1
split-complementary
#B1398E #52B139 #39B198
monochromatic
#541B44 #832A69 #B1398E #CB5DAB #DA8BC3

Accessibility & contrast

On white

5.46
#B1398E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B1398E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1398E
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1398E#FFFFFF#000000##FFFFFF
##B1398E1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425D90
Deuteranopia (green-blind)
#67708B
Tritanopia (blue-blind)
#BC3B5E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b1398e;
/* rgb */ color: rgb(177, 57, 142);
/* oklch */ color: oklch(54.6% 0.180 341.5);
Tailwind
colors: {
  custom: {
    50: '#cc79af',
    500: '#b1398e',
    950: '#000000',
  },
}
SCSS
$custom: #b1398e;
$custom-light: #cc79af;
$custom-dark: #000000;
JSON
{
  "hex": "#b1398e",
  "rgb": {
    "r": 177,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 317.5,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54576,
    "c": 0.1799,
    "h": 341.5
  },
  "luminance": 0.14226
}

Semantic roles & 50–950 ramp

primary
#B1398E
secondary
#82C495
accent
#DB764D
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #B1398E

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

Preview Lab → · Contrast checker → · Palette generator →

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