#B0315A#B0315A

#B0315A is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.7% C 0.165 H 5.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#B0315A
RGBrgb(176, 49, 90)
HSLhsl(341, 56%, 44%)
HSVhsv(341, 72%, 69%)
CMYKcmyk(0%, 72.2%, 48.9%, 31%)
CIE-LABlab(41.48, 53.79, 6.18)
CIE-LCHlch(41.48, 54.14, 6.55°)
OKLaboklab(51.69% 0.1642 0.0163)
OKLCHoklch(51.69% 0.165 5.7)
XYZxyz(20.8500, 12.1677, 10.9215)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0315A #31B087
analogous
#B0319A #B0315A #B04831
triadic
#B0315A #5AB031 #315AB0
tetradic
#B0315A #9AB031 #31B087 #4831B0
square
#B0315A #9AB031 #31B087 #4831B0
split-complementary
#B0315A #31B048 #319AB0
monochromatic
#501629 #802442 #B0315A #CE5079 #DC809D

Accessibility & contrast

On white

6.12
#B0315A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#B0315A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0315A
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0315A#FFFFFF#000000##FFFFFF
##B0315A1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F525B
Deuteranopia (green-blind)
#706B57
Tritanopia (blue-blind)
#C01942
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b0315a;
/* rgb */ color: rgb(176, 49, 90);
/* oklch */ color: oklch(51.7% 0.165 5.7);
Tailwind
colors: {
  custom: {
    50: '#cd7388',
    500: '#b0315a',
    950: '#000000',
  },
}
SCSS
$custom: #b0315a;
$custom-light: #cd7388;
$custom-dark: #000000;
JSON
{
  "hex": "#b0315a",
  "rgb": {
    "r": 176,
    "g": 49,
    "b": 90
  },
  "hsl": {
    "h": 340.63,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51688,
    "c": 0.16502,
    "h": 5.7
  },
  "luminance": 0.12165
}

Semantic roles & 50–950 ramp

primary
#B0315A
secondary
#78C5AC
accent
#E0AF48
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B0315A

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

Preview Lab → · Contrast checker → · Palette generator →

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