#B0318F#B0318F

#B0318F is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.7% C 0.190 H 340.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#B0318F
RGBrgb(176, 49, 143)
HSLhsl(316, 56%, 44%)
HSVhsv(316, 72%, 69%)
CMYKcmyk(0%, 72.2%, 18.7%, 31%)
CIE-LABlab(43.38, 59.92, -23.75)
CIE-LCHlch(43.38, 64.46, 338.38°)
OKLaboklab(53.7% 0.1787 -0.064)
OKLCHoklch(53.7% 0.19 340.3)
XYZxyz(23.9614, 13.4122, 27.3082)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0318F #31B052
analogous
#9231B0 #B0318F #B0314F
triadic
#B0318F #8FB031 #318FB0
tetradic
#B0318F #B09231 #31B052 #314FB0
square
#B0318F #B09231 #31B052 #314FB0
split-complementary
#B0318F #4FB031 #31B092
monochromatic
#501641 #802468 #B0318F #CE50AD #DC80C4

Accessibility & contrast

On white

5.70
#B0318F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B0318F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0318F
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0318F#FFFFFF#000000##FFFFFF
##B0318F1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5A92
Deuteranopia (green-blind)
#626E8C
Tritanopia (blue-blind)
#BA355C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b0318f;
/* rgb */ color: rgb(176, 49, 143);
/* oklch */ color: oklch(53.7% 0.190 340.3);
Tailwind
colors: {
  custom: {
    50: '#cb75b0',
    500: '#b0318f',
    950: '#000000',
  },
}
SCSS
$custom: #b0318f;
$custom-light: #cb75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b0318f",
  "rgb": {
    "r": 176,
    "g": 49,
    "b": 143
  },
  "hsl": {
    "h": 315.591,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53698,
    "c": 0.18984,
    "h": 340.3
  },
  "luminance": 0.1341
}

Semantic roles & 50–950 ramp

primary
#B0318F
secondary
#78C58C
accent
#E06F48
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B0318F

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

Preview Lab → · Contrast checker → · Palette generator →

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