#B1338B#B1338B

#B1338B is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.9% C 0.186 H 342.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B1338B
RGBrgb(177, 51, 139)
HSLhsl(318, 55%, 45%)
HSVhsv(318, 71%, 69%)
CMYKcmyk(0%, 71.2%, 21.5%, 30.6%)
CIE-LABlab(43.63, 58.92, -20.92)
CIE-LCHlch(43.63, 62.52, 340.45°)
OKLaboklab(53.85% 0.1769 -0.0561)
OKLCHoklch(53.85% 0.186 342.4)
XYZxyz(23.9763, 13.5812, 25.7798)
Luminance0.1358 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1338B #33B159
analogous
#9833B1 #B1338B #B1334C
triadic
#B1338B #8BB133 #338BB1
tetradic
#B1338B #B19833 #33B159 #334CB1
square
#B1338B #B19833 #33B159 #334CB1
split-complementary
#B1338B #4CB133 #33B198
monochromatic
#521840 #812566 #B1338B #CE54A9 #DB83C1

Accessibility & contrast

On white

5.65
#B1338B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B1338B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1338B
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1338B#FFFFFF#000000##FFFFFF
##B1338B1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5A8D
Deuteranopia (green-blind)
#656F88
Tritanopia (blue-blind)
#BC345B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b1338b;
/* rgb */ color: rgb(177, 51, 139);
/* oklch */ color: oklch(53.9% 0.186 342.4);
Tailwind
colors: {
  custom: {
    50: '#cc76ad',
    500: '#b1338b',
    950: '#000000',
  },
}
SCSS
$custom: #b1338b;
$custom-light: #cc76ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b1338b",
  "rgb": {
    "r": 177,
    "g": 51,
    "b": 139
  },
  "hsl": {
    "h": 318.095,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53854,
    "c": 0.18553,
    "h": 342.4
  },
  "luminance": 0.13579
}

Semantic roles & 50–950 ramp

primary
#B1338B
secondary
#7BC591
accent
#DF7649
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B1338B

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

Preview Lab → · Contrast checker → · Palette generator →

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