#B31D6E#B31D6E

#B31D6E is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.3% C 0.193 H 354.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#B31D6E
RGBrgb(179, 29, 110)
HSLhsl(328, 72%, 41%)
HSVhsv(328, 84%, 70%)
CMYKcmyk(0%, 83.8%, 38.5%, 29.8%)
CIE-LABlab(40.56, 62.49, -7.66)
CIE-LCHlch(40.56, 62.96, 353.01°)
OKLaboklab(51.32% 0.1924 -0.0195)
OKLCHoklch(51.32% 0.193 354.2)
XYZxyz(21.8458, 11.5911, 15.8357)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31D6E #1DB362
analogous
#AD1DB3 #B31D6E #B31D23
triadic
#B31D6E #6EB31D #1D6EB3
tetradic
#B31D6E #B3AD1D #1DB362 #1D23B3
square
#B31D6E #B3AD1D #1DB362 #1D23B3
split-complementary
#B31D6E #23B31D #1DB3AD
monochromatic
#4A0C2D #7E144E #B31D6E #DD308E #E664AA

Accessibility & contrast

On white

6.33
#B31D6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#B31D6E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31D6E
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31D6E#FFFFFF#000000##FFFFFF
##B31D6E1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4E70
Deuteranopia (green-blind)
#69696B
Tritanopia (blue-blind)
#C20044
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b31d6e;
/* rgb */ color: rgb(179, 29, 110);
/* oklch */ color: oklch(51.3% 0.193 354.2);
Tailwind
colors: {
  custom: {
    50: '#cf6d97',
    500: '#b31d6e',
    950: '#000000',
  },
}
SCSS
$custom: #b31d6e;
$custom-light: #cf6d97;
$custom-dark: #000000;
JSON
{
  "hex": "#b31d6e",
  "rgb": {
    "r": 179,
    "g": 29,
    "b": 110
  },
  "hsl": {
    "h": 327.6,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51317,
    "c": 0.19337,
    "h": 354.2
  },
  "luminance": 0.11588
}

Semantic roles & 50–950 ramp

primary
#B31D6E
secondary
#61CB92
accent
#EF8D39
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15080D
muted
#837B7E

Preview Lab

Preview with #B31D6E

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

Preview Lab → · Contrast checker → · Palette generator →

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