#B1338E#B1338E

#B1338E is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.0% C 0.187 H 341.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#B1338E
RGBrgb(177, 51, 142)
HSLhsl(317, 55%, 45%)
HSVhsv(317, 71%, 69%)
CMYKcmyk(0%, 71.2%, 19.8%, 30.6%)
CIE-LABlab(43.76, 59.33, -22.55)
CIE-LCHlch(43.76, 63.47, 339.19°)
OKLaboklab(53.99% 0.1774 -0.0606)
OKLCHoklch(53.99% 0.187 341.1)
XYZxyz(24.1985, 13.6701, 26.9501)
Luminance0.1367 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1338E #33B156
analogous
#9533B1 #B1338E #B1334F
triadic
#B1338E #8EB133 #338EB1
tetradic
#B1338E #B19533 #33B156 #334FB1
square
#B1338E #B19533 #33B156 #334FB1
split-complementary
#B1338E #4FB133 #33B195
monochromatic
#521842 #812568 #B1338E #CE54AC #DB83C3

Accessibility & contrast

On white

5.62
#B1338E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#B1338E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1338E
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1338E#FFFFFF#000000##FFFFFF
##B1338E1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5A91
Deuteranopia (green-blind)
#646F8B
Tritanopia (blue-blind)
#BC365C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b1338e;
/* rgb */ color: rgb(177, 51, 142);
/* oklch */ color: oklch(54.0% 0.187 341.1);
Tailwind
colors: {
  custom: {
    50: '#cc76af',
    500: '#b1338e',
    950: '#000000',
  },
}
SCSS
$custom: #b1338e;
$custom-light: #cc76af;
$custom-dark: #000000;
JSON
{
  "hex": "#b1338e",
  "rgb": {
    "r": 177,
    "g": 51,
    "b": 142
  },
  "hsl": {
    "h": 316.667,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53991,
    "c": 0.18746,
    "h": 341.1
  },
  "luminance": 0.13668
}

Semantic roles & 50–950 ramp

primary
#B1338E
secondary
#7BC590
accent
#DF7349
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B1338E

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

Preview Lab → · Contrast checker → · Palette generator →

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