#B1338F#B1338F

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

Color values

HEX#B1338F
RGBrgb(177, 51, 143)
HSLhsl(316, 55%, 45%)
HSVhsv(316, 71%, 69%)
CMYKcmyk(0%, 71.2%, 19.2%, 30.6%)
CIE-LABlab(43.80, 59.47, -23.08)
CIE-LCHlch(43.80, 63.79, 338.79°)
OKLaboklab(54.04% 0.1775 -0.0622)
OKLCHoklch(54.04% 0.188 340.7)
XYZxyz(24.2739, 13.7003, 27.3473)
Luminance0.1370 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1338F #33B155
analogous
#9433B1 #B1338F #B13350
triadic
#B1338F #8FB133 #338FB1
tetradic
#B1338F #B19433 #33B155 #3350B1
square
#B1338F #B19433 #33B155 #3350B1
split-complementary
#B1338F #50B133 #33B194
monochromatic
#521842 #812569 #B1338F #CE54AD #DB83C4

Accessibility & contrast

On white

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

On black

3.74
#B1338F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B1338F#FFFFFF#000000##FFFFFF
##B1338F1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5B92
Deuteranopia (green-blind)
#646F8C
Tritanopia (blue-blind)
#BC365D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b1338f;
/* rgb */ color: rgb(177, 51, 143);
/* oklch */ color: oklch(54.0% 0.188 340.7);
Tailwind
colors: {
  custom: {
    50: '#cc76b0',
    500: '#b1338f',
    950: '#000000',
  },
}
SCSS
$custom: #b1338f;
$custom-light: #cc76b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b1338f",
  "rgb": {
    "r": 177,
    "g": 51,
    "b": 143
  },
  "hsl": {
    "h": 316.19,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54037,
    "c": 0.18811,
    "h": 340.7
  },
  "luminance": 0.13698
}

Semantic roles & 50–950 ramp

primary
#B1338F
secondary
#7BC58F
accent
#DF7249
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B1338F

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

Preview Lab → · Contrast checker → · Palette generator →

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