#B2315F#B2315F

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

Color values

HEX#B2315F
RGBrgb(178, 49, 95)
HSLhsl(339, 57%, 45%)
HSVhsv(339, 72%, 70%)
CMYKcmyk(0%, 72.5%, 46.6%, 30.2%)
CIE-LABlab(41.99, 54.84, 3.82)
CIE-LCHlch(41.99, 54.97, 3.98°)
OKLaboklab(52.17% 0.1678 0.0104)
OKLCHoklch(52.17% 0.168 3.5)
XYZxyz(21.5257, 12.4906, 12.1017)
Luminance0.1249 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2315F #31B284
analogous
#B2319F #B2315F #B24431
triadic
#B2315F #5FB231 #315FB2
tetradic
#B2315F #9FB231 #31B284 #4431B2
square
#B2315F #9FB231 #31B284 #4431B2
split-complementary
#B2315F #31B244 #319FB2
monochromatic
#52172C #822445 #B2315F #CF517E #DC81A2

Accessibility & contrast

On white

6.00
#B2315F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B2315F
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2315F#FFFFFF#000000##FFFFFF
##B2315F1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5360
Deuteranopia (green-blind)
#716C5C
Tritanopia (blue-blind)
#C11A44
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b2315f;
/* rgb */ color: rgb(178, 49, 95);
/* oklch */ color: oklch(52.2% 0.168 3.5);
Tailwind
colors: {
  custom: {
    50: '#ce748c',
    500: '#b2315f',
    950: '#000000',
  },
}
SCSS
$custom: #b2315f;
$custom-light: #ce748c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2315f",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 95
  },
  "hsl": {
    "h": 338.605,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52174,
    "c": 0.16812,
    "h": 3.5
  },
  "luminance": 0.12488
}

Semantic roles & 50–950 ramp

primary
#B2315F
secondary
#79C5AA
accent
#E0AA48
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B2315F

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

Preview Lab → · Contrast checker → · Palette generator →

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