#B0318B#B0318B

#B0318B is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.5% C 0.187 H 342.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B0318B
RGBrgb(176, 49, 139)
HSLhsl(317, 56%, 44%)
HSVhsv(317, 72%, 69%)
CMYKcmyk(0%, 72.2%, 21%, 31%)
CIE-LABlab(43.20, 59.37, -21.59)
CIE-LCHlch(43.20, 63.17, 340.01°)
OKLaboklab(53.51% 0.1781 -0.058)
OKLCHoklch(53.51% 0.187 342)
XYZxyz(23.6638, 13.2932, 25.7407)
Luminance0.1329 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0318B #31B056
analogous
#9631B0 #B0318B #B0314C
triadic
#B0318B #8BB031 #318BB0
tetradic
#B0318B #B09631 #31B056 #314CB0
square
#B0318B #B09631 #31B056 #314CB0
split-complementary
#B0318B #4CB031 #31B096
monochromatic
#50163F #802465 #B0318B #CE50A9 #DC80C1

Accessibility & contrast

On white

5.74
#B0318B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B0318B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0318B
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0318B#FFFFFF#000000##FFFFFF
##B0318B1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C598E
Deuteranopia (green-blind)
#646E88
Tritanopia (blue-blind)
#BB335A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b0318b;
/* rgb */ color: rgb(176, 49, 139);
/* oklch */ color: oklch(53.5% 0.187 342.0);
Tailwind
colors: {
  custom: {
    50: '#cb75ad',
    500: '#b0318b',
    950: '#000000',
  },
}
SCSS
$custom: #b0318b;
$custom-light: #cb75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b0318b",
  "rgb": {
    "r": 176,
    "g": 49,
    "b": 139
  },
  "hsl": {
    "h": 317.48,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53513,
    "c": 0.18725,
    "h": 342
  },
  "luminance": 0.13291
}

Semantic roles & 50–950 ramp

primary
#B0318B
secondary
#78C58E
accent
#E07448
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B0318B

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

Preview Lab → · Contrast checker → · Palette generator →

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