#B3315B#B3315B

#B3315B is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.2% C 0.168 H 5.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#B3315B
RGBrgb(179, 49, 91)
HSLhsl(341, 57%, 45%)
HSVhsv(341, 73%, 70%)
CMYKcmyk(0%, 72.6%, 49.2%, 29.8%)
CIE-LABlab(42.06, 54.77, 6.45)
CIE-LCHlch(42.06, 55.15, 6.72°)
OKLaboklab(52.23% 0.1672 0.017)
OKLCHoklch(52.23% 0.168 5.8)
XYZxyz(21.5789, 12.5385, 11.1794)
Luminance0.1254 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3315B #31B389
analogous
#B3319C #B3315B #B34831
triadic
#B3315B #5BB331 #315BB3
tetradic
#B3315B #9CB331 #31B389 #4831B3
square
#B3315B #9CB331 #31B389 #4831B3
split-complementary
#B3315B #31B348 #319CB3
monochromatic
#53172A #832443 #B3315B #D0527A #DD829F

Accessibility & contrast

On white

5.99
#B3315B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#B3315B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3315B
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3315B#FFFFFF#000000##FFFFFF
##B3315B1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50535C
Deuteranopia (green-blind)
#726D58
Tritanopia (blue-blind)
#C31742
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b3315b;
/* rgb */ color: rgb(179, 49, 91);
/* oklch */ color: oklch(52.2% 0.168 5.8);
Tailwind
colors: {
  custom: {
    50: '#cf7489',
    500: '#b3315b',
    950: '#000000',
  },
}
SCSS
$custom: #b3315b;
$custom-light: #cf7489;
$custom-dark: #000000;
JSON
{
  "hex": "#b3315b",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 91
  },
  "hsl": {
    "h": 340.615,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52226,
    "c": 0.16807,
    "h": 5.8
  },
  "luminance": 0.12536
}

Semantic roles & 50–950 ramp

primary
#B3315B
secondary
#7AC6AD
accent
#E0AF48
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B3315B

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

Preview Lab → · Contrast checker → · Palette generator →

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