#B3315F#B3315F

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

Color values

HEX#B3315F
RGBrgb(179, 49, 95)
HSLhsl(339, 57%, 45%)
HSVhsv(339, 73%, 70%)
CMYKcmyk(0%, 72.6%, 46.9%, 29.8%)
CIE-LABlab(42.17, 55.13, 4.10)
CIE-LCHlch(42.17, 55.28, 4.26°)
OKLaboklab(52.34% 0.1687 0.0111)
OKLCHoklch(52.34% 0.169 3.8)
XYZxyz(21.7560, 12.6094, 12.1125)
Luminance0.1261 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3315F #31B385
analogous
#B331A0 #B3315F #B34431
triadic
#B3315F #5FB331 #315FB3
tetradic
#B3315F #A0B331 #31B385 #4431B3
square
#B3315F #A0B331 #31B385 #4431B3
split-complementary
#B3315F #31B344 #31A0B3
monochromatic
#53172C #832446 #B3315F #D0527E #DD82A2

Accessibility & contrast

On white

5.96
#B3315F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B3315F
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3315F#FFFFFF#000000##FFFFFF
##B3315F1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5360
Deuteranopia (green-blind)
#716D5C
Tritanopia (blue-blind)
#C31A44
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b3315f;
/* rgb */ color: rgb(179, 49, 95);
/* oklch */ color: oklch(52.3% 0.169 3.8);
Tailwind
colors: {
  custom: {
    50: '#cf748c',
    500: '#b3315f',
    950: '#000000',
  },
}
SCSS
$custom: #b3315f;
$custom-light: #cf748c;
$custom-dark: #000000;
JSON
{
  "hex": "#b3315f",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 95
  },
  "hsl": {
    "h": 338.769,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52343,
    "c": 0.16903,
    "h": 3.8
  },
  "luminance": 0.12607
}

Semantic roles & 50–950 ramp

primary
#B3315F
secondary
#7AC6AB
accent
#E0AA48
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B3315F

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

Preview Lab → · Contrast checker → · Palette generator →

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