#B31755#B31755

#B31755 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.62:1 contrast (WCAG AA passes).

Color values

HEX#B31755
RGBrgb(179, 23, 85)
HSLhsl(336, 77%, 40%)
HSVhsv(336, 87%, 70%)
CMYKcmyk(0%, 87.2%, 52.5%, 29.8%)
CIE-LABlab(39.34, 61.52, 6.37)
CIE-LCHlch(39.34, 61.85, 5.91°)
OKLaboklab(50.17% 0.1884 0.0167)
OKLCHoklch(50.17% 0.189 5.1)
XYZxyz(20.5384, 10.8554, 9.6064)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31755 #17B375
analogous
#B317A3 #B31755 #B32717
triadic
#B31755 #55B317 #1755B3
tetradic
#B31755 #A3B317 #17B375 #2717B3
square
#B31755 #A3B317 #17B375 #2717B3
split-complementary
#B31755 #17B327 #17A3B3
monochromatic
#470921 #7D103B #B31755 #E32470 #EA5B93

Accessibility & contrast

On white

6.62
#B31755 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#B31755 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31755
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31755#FFFFFF#000000##FFFFFF
##B317551.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b31755;
/* rgb */ color: rgb(179, 23, 85);
/* oklch */ color: oklch(50.2% 0.189 5.1);
Tailwind
colors: {
  custom: {
    50: '#d06a84',
    500: '#b31755',
    950: '#000000',
  },
}
SCSS
$custom: #b31755;
$custom-light: #d06a84;
$custom-dark: #000000;
JSON
{
  "hex": "#b31755",
  "rgb": {
    "r": 179,
    "g": 23,
    "b": 85
  },
  "hsl": {
    "h": 336.154,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.5017,
    "c": 0.18916,
    "h": 5.1
  },
  "luminance": 0.10852
}

Semantic roles & 50–950 ramp

primary
#B31755
secondary
#58CD9F
accent
#F4A834
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080A
muted
#837A7C

Preview Lab

Preview with #B31755

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

Preview Lab → · Contrast checker → · Palette generator →

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