#B3315E#B3315E

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

Color values

HEX#B3315E
RGBrgb(179, 49, 94)
HSLhsl(339, 57%, 45%)
HSVhsv(339, 73%, 70%)
CMYKcmyk(0%, 72.6%, 47.5%, 29.8%)
CIE-LABlab(42.14, 55.04, 4.69)
CIE-LCHlch(42.14, 55.24, 4.87°)
OKLaboklab(52.31% 0.1683 0.0126)
OKLCHoklch(52.31% 0.169 4.3)
XYZxyz(21.7109, 12.5913, 11.8746)
Luminance0.1259 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3315E #31B386
analogous
#B3319F #B3315E #B34531
triadic
#B3315E #5EB331 #315EB3
tetradic
#B3315E #9FB331 #31B386 #4531B3
square
#B3315E #9FB331 #31B386 #4531B3
split-complementary
#B3315E #31B345 #319FB3
monochromatic
#53172C #832445 #B3315E #D0527D #DD82A1

Accessibility & contrast

On white

5.97
#B3315E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#B3315E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3315E
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3315E#FFFFFF#000000##FFFFFF
##B3315E1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F535F
Deuteranopia (green-blind)
#716D5B
Tritanopia (blue-blind)
#C31944
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b3315e;
/* rgb */ color: rgb(179, 49, 94);
/* oklch */ color: oklch(52.3% 0.169 4.3);
Tailwind
colors: {
  custom: {
    50: '#cf748b',
    500: '#b3315e',
    950: '#000000',
  },
}
SCSS
$custom: #b3315e;
$custom-light: #cf748b;
$custom-dark: #000000;
JSON
{
  "hex": "#b3315e",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 94
  },
  "hsl": {
    "h": 339.231,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52313,
    "c": 0.16878,
    "h": 4.3
  },
  "luminance": 0.12588
}

Semantic roles & 50–950 ramp

primary
#B3315E
secondary
#7AC6AC
accent
#E0AB48
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B3315E

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

Preview Lab → · Contrast checker → · Palette generator →

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