#B2315E#B2315E

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

Color values

HEX#B2315E
RGBrgb(178, 49, 94)
HSLhsl(339, 57%, 45%)
HSVhsv(339, 72%, 70%)
CMYKcmyk(0%, 72.5%, 47.2%, 30.2%)
CIE-LABlab(41.96, 54.74, 4.40)
CIE-LCHlch(41.96, 54.92, 4.60°)
OKLaboklab(52.14% 0.1674 0.0119)
OKLCHoklch(52.14% 0.168 4)
XYZxyz(21.4805, 12.4726, 11.8638)
Luminance0.1247 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2315E #31B285
analogous
#B2319F #B2315E #B24531
triadic
#B2315E #5EB231 #315EB2
tetradic
#B2315E #9FB231 #31B285 #4531B2
square
#B2315E #9FB231 #31B285 #4531B2
split-complementary
#B2315E #31B245 #319FB2
monochromatic
#52172B #822445 #B2315E #CF517D #DC81A1

Accessibility & contrast

On white

6.01
#B2315E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#B2315E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2315E
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2315E#FFFFFF#000000##FFFFFF
##B2315E1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2315e;
/* rgb */ color: rgb(178, 49, 94);
/* oklch */ color: oklch(52.1% 0.168 4.0);
Tailwind
colors: {
  custom: {
    50: '#ce748b',
    500: '#b2315e',
    950: '#000000',
  },
}
SCSS
$custom: #b2315e;
$custom-light: #ce748b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2315e",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 94
  },
  "hsl": {
    "h": 339.07,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52144,
    "c": 0.16786,
    "h": 4
  },
  "luminance": 0.1247
}

Semantic roles & 50–950 ramp

primary
#B2315E
secondary
#79C5AB
accent
#E0AB48
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B2315E

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

Preview Lab → · Contrast checker → · Palette generator →

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