#B0318C#B0318C

#B0318C is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.6% C 0.188 H 341.5°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B0318C
RGBrgb(176, 49, 140)
HSLhsl(317, 56%, 44%)
HSVhsv(317, 72%, 69%)
CMYKcmyk(0%, 72.2%, 20.5%, 31%)
CIE-LABlab(43.25, 59.50, -22.14)
CIE-LCHlch(43.25, 63.49, 339.60°)
OKLaboklab(53.56% 0.1782 -0.0595)
OKLCHoklch(53.56% 0.188 341.5)
XYZxyz(23.7372, 13.3225, 26.1273)
Luminance0.1332 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0318C #31B055
analogous
#9531B0 #B0318C #B0314D
triadic
#B0318C #8CB031 #318CB0
tetradic
#B0318C #B09531 #31B055 #314DB0
square
#B0318C #B09531 #31B055 #314DB0
split-complementary
#B0318C #4DB031 #31B095
monochromatic
#501640 #802466 #B0318C #CE50AA #DC80C2

Accessibility & contrast

On white

5.73
#B0318C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B0318C
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0318C#FFFFFF#000000##FFFFFF
##B0318C1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b0318c;
/* rgb */ color: rgb(176, 49, 140);
/* oklch */ color: oklch(53.6% 0.188 341.5);
Tailwind
colors: {
  custom: {
    50: '#cb75ad',
    500: '#b0318c',
    950: '#000000',
  },
}
SCSS
$custom: #b0318c;
$custom-light: #cb75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b0318c",
  "rgb": {
    "r": 176,
    "g": 49,
    "b": 140
  },
  "hsl": {
    "h": 317.008,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53558,
    "c": 0.18789,
    "h": 341.5
  },
  "luminance": 0.1332
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B0318C

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

Preview Lab → · Contrast checker → · Palette generator →

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