#B3315C#B3315C

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

Color values

HEX#B3315C
RGBrgb(179, 49, 92)
HSLhsl(340, 57%, 45%)
HSVhsv(340, 73%, 70%)
CMYKcmyk(0%, 72.6%, 48.6%, 29.8%)
CIE-LABlab(42.09, 54.86, 5.86)
CIE-LCHlch(42.09, 55.17, 6.10°)
OKLaboklab(52.26% 0.1676 0.0155)
OKLCHoklch(52.26% 0.168 5.3)
XYZxyz(21.6223, 12.5559, 11.4081)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3315C #31B388
analogous
#B3319D #B3315C #B34731
triadic
#B3315C #5CB331 #315CB3
tetradic
#B3315C #9DB331 #31B388 #4731B3
square
#B3315C #9DB331 #31B388 #4731B3
split-complementary
#B3315C #31B347 #319DB3
monochromatic
#53172B #832443 #B3315C #D0527B #DD82A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3315C#FFFFFF#000000##FFFFFF
##B3315C1.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)
#4F535D
Deuteranopia (green-blind)
#726D59
Tritanopia (blue-blind)
#C31843
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b3315c;
/* rgb */ color: rgb(179, 49, 92);
/* oklch */ color: oklch(52.3% 0.168 5.3);
Tailwind
colors: {
  custom: {
    50: '#cf7489',
    500: '#b3315c',
    950: '#000000',
  },
}
SCSS
$custom: #b3315c;
$custom-light: #cf7489;
$custom-dark: #000000;
JSON
{
  "hex": "#b3315c",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 92
  },
  "hsl": {
    "h": 340.154,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52255,
    "c": 0.1683,
    "h": 5.3
  },
  "luminance": 0.12553
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B3315C

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

Preview Lab → · Contrast checker → · Palette generator →

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