#B1338D#B1338D

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

Color values

HEX#B1338D
RGBrgb(177, 51, 141)
HSLhsl(317, 55%, 45%)
HSVhsv(317, 71%, 69%)
CMYKcmyk(0%, 71.2%, 20.3%, 30.6%)
CIE-LABlab(43.71, 59.19, -22.01)
CIE-LCHlch(43.71, 63.15, 339.61°)
OKLaboklab(53.95% 0.1772 -0.0591)
OKLCHoklch(53.95% 0.187 341.5)
XYZxyz(24.1237, 13.6402, 26.5565)
Luminance0.1364 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1338D #33B157
analogous
#9633B1 #B1338D #B1334E
triadic
#B1338D #8DB133 #338DB1
tetradic
#B1338D #B19633 #33B157 #334EB1
square
#B1338D #B19633 #33B157 #334EB1
split-complementary
#B1338D #4EB133 #33B196
monochromatic
#521841 #812567 #B1338D #CE54AB #DB83C2

Accessibility & contrast

On white

5.63
#B1338D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B1338D
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1338D#FFFFFF#000000##FFFFFF
##B1338D1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5A90
Deuteranopia (green-blind)
#656F8A
Tritanopia (blue-blind)
#BC355C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b1338d;
/* rgb */ color: rgb(177, 51, 141);
/* oklch */ color: oklch(53.9% 0.187 341.5);
Tailwind
colors: {
  custom: {
    50: '#cc76ae',
    500: '#b1338d',
    950: '#000000',
  },
}
SCSS
$custom: #b1338d;
$custom-light: #cc76ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b1338d",
  "rgb": {
    "r": 177,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 317.143,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53945,
    "c": 0.18681,
    "h": 341.5
  },
  "luminance": 0.13638
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B1338D

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

Preview Lab → · Contrast checker → · Palette generator →

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