#B31754#B31754

#B31754 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.1% C 0.189 H 5.5°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#B31754
RGBrgb(179, 23, 84)
HSLhsl(337, 77%, 40%)
HSVhsv(337, 87%, 70%)
CMYKcmyk(0%, 87.2%, 53.1%, 29.8%)
CIE-LABlab(39.31, 61.45, 6.97)
CIE-LCHlch(39.31, 61.84, 6.47°)
OKLaboklab(50.14% 0.1881 0.0182)
OKLCHoklch(50.14% 0.189 5.5)
XYZxyz(20.4990, 10.8396, 9.3986)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31754 #17B376
analogous
#B317A2 #B31754 #B32817
triadic
#B31754 #54B317 #1754B3
tetradic
#B31754 #A2B317 #17B376 #2817B3
square
#B31754 #A2B317 #17B376 #2817B3
split-complementary
#B31754 #17B328 #17A2B3
monochromatic
#470921 #7D103B #B31754 #E3246F #EA5B93

Accessibility & contrast

On white

6.63
#B31754 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31754
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31754#FFFFFF#000000##FFFFFF
##B317541.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b31754;
/* rgb */ color: rgb(179, 23, 84);
/* oklch */ color: oklch(50.1% 0.189 5.5);
Tailwind
colors: {
  custom: {
    50: '#d16a83',
    500: '#b31754',
    950: '#000000',
  },
}
SCSS
$custom: #b31754;
$custom-light: #d16a83;
$custom-dark: #000000;
JSON
{
  "hex": "#b31754",
  "rgb": {
    "r": 179,
    "g": 23,
    "b": 84
  },
  "hsl": {
    "h": 336.538,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50142,
    "c": 0.18892,
    "h": 5.5
  },
  "luminance": 0.10837
}

Semantic roles & 50–950 ramp

primary
#B31754
secondary
#58CDA0
accent
#F4A934
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080A
muted
#837A7C

Preview Lab

Preview with #B31754

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

Preview Lab → · Contrast checker → · Palette generator →

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