#B31645#B31645

#B31645 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.7% C 0.187 H 12.1°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#B31645
RGBrgb(179, 22, 69)
HSLhsl(342, 78%, 39%)
HSVhsv(342, 88%, 70%)
CMYKcmyk(0%, 87.7%, 61.5%, 29.8%)
CIE-LABlab(38.88, 60.61, 15.97)
CIE-LCHlch(38.88, 62.67, 14.76°)
OKLaboklab(49.71% 0.1829 0.0392)
OKLCHoklch(49.71% 0.187 12.1)
XYZxyz(19.9536, 10.5903, 6.6226)
Luminance0.1059 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31645 #16B384
analogous
#B31694 #B31645 #B33616
triadic
#B31645 #45B316 #1645B3
tetradic
#B31645 #94B316 #16B384 #3616B3
square
#B31645 #94B316 #16B384 #3616B3
split-complementary
#B31645 #16B336 #1694B3
monochromatic
#46091B #7C0F30 #B31645 #E4225C #EB5984

Accessibility & contrast

On white

6.74
#B31645 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#B31645 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31645
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31645#FFFFFF#000000##FFFFFF
##B316451.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484746
Deuteranopia (green-blind)
#6F6741
Tritanopia (blue-blind)
#C4002D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b31645;
/* rgb */ color: rgb(179, 22, 69);
/* oklch */ color: oklch(49.7% 0.187 12.1);
Tailwind
colors: {
  custom: {
    50: '#d16978',
    500: '#b31645',
    950: '#000000',
  },
}
SCSS
$custom: #b31645;
$custom-light: #d16978;
$custom-dark: #000000;
JSON
{
  "hex": "#b31645",
  "rgb": {
    "r": 179,
    "g": 22,
    "b": 69
  },
  "hsl": {
    "h": 342.038,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49712,
    "c": 0.1871,
    "h": 12.1
  },
  "luminance": 0.10587
}

Semantic roles & 50–950 ramp

primary
#B31645
secondary
#57CEAA
accent
#F5BB33
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150708
muted
#837A7B

Preview Lab

Preview with #B31645

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

Preview Lab → · Contrast checker → · Palette generator →

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