#B3315D#B3315D

#B3315D is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.3% C 0.169 H 4.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#B3315D
RGBrgb(179, 49, 93)
HSLhsl(340, 57%, 45%)
HSVhsv(340, 73%, 70%)
CMYKcmyk(0%, 72.6%, 48%, 29.8%)
CIE-LABlab(42.11, 54.95, 5.28)
CIE-LCHlch(42.11, 55.20, 5.48°)
OKLaboklab(52.28% 0.1679 0.014)
OKLCHoklch(52.28% 0.169 4.8)
XYZxyz(21.6663, 12.5735, 11.6398)
Luminance0.1257 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3315D #31B387
analogous
#B3319E #B3315D #B34631
triadic
#B3315D #5DB331 #315DB3
tetradic
#B3315D #9EB331 #31B387 #4631B3
square
#B3315D #9EB331 #31B387 #4631B3
split-complementary
#B3315D #31B346 #319EB3
monochromatic
#53172B #832444 #B3315D #D0527C #DD82A1

Accessibility & contrast

On white

5.98
#B3315D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B3315D
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3315D#FFFFFF#000000##FFFFFF
##B3315D1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F535E
Deuteranopia (green-blind)
#726D5A
Tritanopia (blue-blind)
#C31843
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b3315d;
/* rgb */ color: rgb(179, 49, 93);
/* oklch */ color: oklch(52.3% 0.169 4.8);
Tailwind
colors: {
  custom: {
    50: '#cf748a',
    500: '#b3315d',
    950: '#000000',
  },
}
SCSS
$custom: #b3315d;
$custom-light: #cf748a;
$custom-dark: #000000;
JSON
{
  "hex": "#b3315d",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 93
  },
  "hsl": {
    "h": 339.692,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52284,
    "c": 0.16854,
    "h": 4.8
  },
  "luminance": 0.12571
}

Semantic roles & 50–950 ramp

primary
#B3315D
secondary
#7AC6AC
accent
#E0AD48
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B3315D

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

Preview Lab → · Contrast checker → · Palette generator →

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