#B0318A#B0318A

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

Color values

HEX#B0318A
RGBrgb(176, 49, 138)
HSLhsl(318, 56%, 44%)
HSVhsv(318, 72%, 69%)
CMYKcmyk(0%, 72.2%, 21.6%, 31%)
CIE-LABlab(43.16, 59.23, -21.05)
CIE-LCHlch(43.16, 62.86, 340.43°)
OKLaboklab(53.47% 0.1779 -0.0564)
OKLCHoklch(53.47% 0.187 342.4)
XYZxyz(23.5910, 13.2641, 25.3576)
Luminance0.1326 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0318A #31B057
analogous
#9731B0 #B0318A #B0314B
triadic
#B0318A #8AB031 #318AB0
tetradic
#B0318A #B09731 #31B057 #314BB0
square
#B0318A #B09731 #31B057 #314BB0
split-complementary
#B0318A #4BB031 #31B097
monochromatic
#50163F #802464 #B0318A #CE50A8 #DC80C0

Accessibility & contrast

On white

5.75
#B0318A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B0318A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0318A
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0318A#FFFFFF#000000##FFFFFF
##B0318A1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D598C
Deuteranopia (green-blind)
#646D87
Tritanopia (blue-blind)
#BB3259
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b0318a;
/* rgb */ color: rgb(176, 49, 138);
/* oklch */ color: oklch(53.5% 0.187 342.4);
Tailwind
colors: {
  custom: {
    50: '#cb75ac',
    500: '#b0318a',
    950: '#000000',
  },
}
SCSS
$custom: #b0318a;
$custom-light: #cb75ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b0318a",
  "rgb": {
    "r": 176,
    "g": 49,
    "b": 138
  },
  "hsl": {
    "h": 317.953,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53467,
    "c": 0.18661,
    "h": 342.4
  },
  "luminance": 0.13262
}

Semantic roles & 50–950 ramp

primary
#B0318A
secondary
#78C58F
accent
#E07548
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B0318A

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

Preview Lab → · Contrast checker → · Palette generator →

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