#B31E58#B31E58

#B31E58 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.6% C 0.185 H 4.4°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#B31E58
RGBrgb(179, 30, 88)
HSLhsl(337, 71%, 41%)
HSVhsv(337, 83%, 70%)
CMYKcmyk(0%, 83.2%, 50.8%, 29.8%)
CIE-LABlab(39.95, 60.24, 5.33)
CIE-LCHlch(39.95, 60.48, 5.06°)
OKLaboklab(50.65% 0.1846 0.0141)
OKLCHoklch(50.65% 0.185 4.4)
XYZxyz(20.8180, 11.2198, 10.3001)
Luminance0.1122 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31E58 #1EB379
analogous
#B31EA2 #B31E58 #B32E1E
triadic
#B31E58 #58B31E #1E58B3
tetradic
#B31E58 #A2B31E #1EB379 #2E1EB3
square
#B31E58 #A2B31E #1EB379 #2E1EB3
split-complementary
#B31E58 #1EB32E #1EA2B3
monochromatic
#4A0C24 #7F153E #B31E58 #DD3274 #E56698

Accessibility & contrast

On white

6.47
#B31E58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#B31E58 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31E58
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31E58#FFFFFF#000000##FFFFFF
##B31E581.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474C59
Deuteranopia (green-blind)
#6E6855
Tritanopia (blue-blind)
#C30039
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31e58;
/* rgb */ color: rgb(179, 30, 88);
/* oklch */ color: oklch(50.6% 0.185 4.4);
Tailwind
colors: {
  custom: {
    50: '#d06c86',
    500: '#b31e58',
    950: '#000000',
  },
}
SCSS
$custom: #b31e58;
$custom-light: #d06c86;
$custom-dark: #000000;
JSON
{
  "hex": "#b31e58",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 88
  },
  "hsl": {
    "h": 336.644,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50646,
    "c": 0.18511,
    "h": 4.4
  },
  "luminance": 0.11217
}

Semantic roles & 50–950 ramp

primary
#B31E58
secondary
#62CBA2
accent
#EEA83A
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B31E58

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

Preview Lab → · Contrast checker → · Palette generator →

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