#B3315A#B3315A

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

Color values

HEX#B3315A
RGBrgb(179, 49, 90)
HSLhsl(341, 57%, 45%)
HSVhsv(341, 73%, 70%)
CMYKcmyk(0%, 72.6%, 49.7%, 29.8%)
CIE-LABlab(42.03, 54.68, 7.04)
CIE-LCHlch(42.03, 55.13, 7.34°)
OKLaboklab(52.2% 0.1668 0.0184)
OKLCHoklch(52.2% 0.168 6.3)
XYZxyz(21.5360, 12.5214, 10.9537)
Luminance0.1252 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3315A #31B38A
analogous
#B3319B #B3315A #B34931
triadic
#B3315A #5AB331 #315AB3
tetradic
#B3315A #9BB331 #31B38A #4931B3
square
#B3315A #9BB331 #31B38A #4931B3
split-complementary
#B3315A #31B349 #319BB3
monochromatic
#53172A #832442 #B3315A #D05279 #DD829E

Accessibility & contrast

On white

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

On black

3.50
#B3315A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B3315A#FFFFFF#000000##FFFFFF
##B3315A1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3315a;
/* rgb */ color: rgb(179, 49, 90);
/* oklch */ color: oklch(52.2% 0.168 6.3);
Tailwind
colors: {
  custom: {
    50: '#cf7488',
    500: '#b3315a',
    950: '#000000',
  },
}
SCSS
$custom: #b3315a;
$custom-light: #cf7488;
$custom-dark: #000000;
JSON
{
  "hex": "#b3315a",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 90
  },
  "hsl": {
    "h": 341.077,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52198,
    "c": 0.16785,
    "h": 6.3
  },
  "luminance": 0.12519
}

Semantic roles & 50–950 ramp

primary
#B3315A
secondary
#7AC6AE
accent
#E0B048
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B3315A

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

Preview Lab → · Contrast checker → · Palette generator →

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