#B0318D#B0318D

#B0318D is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.6% C 0.189 H 341.1°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B0318D
RGBrgb(176, 49, 141)
HSLhsl(317, 56%, 44%)
HSVhsv(317, 72%, 69%)
CMYKcmyk(0%, 72.2%, 19.9%, 31%)
CIE-LABlab(43.29, 59.64, -22.67)
CIE-LCHlch(43.29, 63.81, 339.18°)
OKLaboklab(53.61% 0.1784 -0.061)
OKLCHoklch(53.61% 0.189 341.1)
XYZxyz(23.8112, 13.3522, 26.5174)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0318D #31B054
analogous
#9331B0 #B0318D #B0314E
triadic
#B0318D #8DB031 #318DB0
tetradic
#B0318D #B09331 #31B054 #314EB0
square
#B0318D #B09331 #31B054 #314EB0
split-complementary
#B0318D #4EB031 #31B093
monochromatic
#501640 #802467 #B0318D #CE50AB #DC80C2

Accessibility & contrast

On white

5.72
#B0318D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B0318D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0318D
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0318D#FFFFFF#000000##FFFFFF
##B0318D1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5990
Deuteranopia (green-blind)
#636E8A
Tritanopia (blue-blind)
#BB345B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b0318d;
/* rgb */ color: rgb(176, 49, 141);
/* oklch */ color: oklch(53.6% 0.189 341.1);
Tailwind
colors: {
  custom: {
    50: '#cb75ae',
    500: '#b0318d',
    950: '#000000',
  },
}
SCSS
$custom: #b0318d;
$custom-light: #cb75ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b0318d",
  "rgb": {
    "r": 176,
    "g": 49,
    "b": 141
  },
  "hsl": {
    "h": 316.535,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53605,
    "c": 0.18853,
    "h": 341.1
  },
  "luminance": 0.1335
}

Semantic roles & 50–950 ramp

primary
#B0318D
secondary
#78C58D
accent
#E07248
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B0318D

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

Preview Lab → · Contrast checker → · Palette generator →

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