#B31855#B31855

#B31855 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.2% C 0.189 H 5.1°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#B31855
RGBrgb(179, 24, 85)
HSLhsl(336, 76%, 40%)
HSVhsv(336, 87%, 70%)
CMYKcmyk(0%, 86.6%, 52.5%, 29.8%)
CIE-LABlab(39.40, 61.33, 6.47)
CIE-LCHlch(39.40, 61.67, 6.02°)
OKLaboklab(50.22% 0.1878 0.0169)
OKLCHoklch(50.22% 0.189 5.1)
XYZxyz(20.5587, 10.8959, 9.6131)
Luminance0.1089 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31855 #18B376
analogous
#B318A3 #B31855 #B32818
triadic
#B31855 #55B318 #1855B3
tetradic
#B31855 #A3B318 #18B376 #2818B3
square
#B31855 #A3B318 #18B376 #2818B3
split-complementary
#B31855 #18B328 #18A3B3
monochromatic
#470A22 #7D113B #B31855 #E22670 #E95C94

Accessibility & contrast

On white

6.61
#B31855 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#B31855 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31855
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31855#FFFFFF#000000##FFFFFF
##B318551.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454A56
Deuteranopia (green-blind)
#6D6751
Tritanopia (blue-blind)
#C40035
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b31855;
/* rgb */ color: rgb(179, 24, 85);
/* oklch */ color: oklch(50.2% 0.189 5.1);
Tailwind
colors: {
  custom: {
    50: '#d06a84',
    500: '#b31855',
    950: '#000000',
  },
}
SCSS
$custom: #b31855;
$custom-light: #d06a84;
$custom-dark: #000000;
JSON
{
  "hex": "#b31855",
  "rgb": {
    "r": 179,
    "g": 24,
    "b": 85
  },
  "hsl": {
    "h": 336.387,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50221,
    "c": 0.18853,
    "h": 5.1
  },
  "luminance": 0.10893
}

Semantic roles & 50–950 ramp

primary
#B31855
secondary
#5ACDA0
accent
#F3A835
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080A
muted
#837A7C

Preview Lab

Preview with #B31855

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

Preview Lab → · Contrast checker → · Palette generator →

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