#B1304C#B1304C

#B1304C is a mid, vivid red. Relative luminance 0.120; OKLCH L 51.4% C 0.165 H 12.8°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#B1304C
RGBrgb(177, 48, 76)
HSLhsl(347, 57%, 44%)
HSVhsv(347, 73%, 69%)
CMYKcmyk(0%, 72.9%, 57.1%, 30.6%)
CIE-LABlab(41.19, 53.30, 14.60)
CIE-LCHlch(41.19, 55.27, 15.31°)
OKLaboklab(51.4% 0.1609 0.0364)
OKLCHoklch(51.4% 0.165 12.8)
XYZxyz(20.4949, 11.9857, 8.0703)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1304C #30B195
analogous
#B1308D #B1304C #B15530
triadic
#B1304C #4CB130 #304CB1
tetradic
#B1304C #8DB130 #30B195 #5530B1
square
#B1304C #8DB130 #30B195 #5530B1
split-complementary
#B1304C #30B155 #308DB1
monochromatic
#511623 #812337 #B1304C #CF4F6B #DC7F93

Accessibility & contrast

On white

6.18
#B1304C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#B1304C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1304C
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1304C#FFFFFF#000000##FFFFFF
##B1304C1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51504C
Deuteranopia (green-blind)
#736B49
Tritanopia (blue-blind)
#C20C3C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b1304c;
/* rgb */ color: rgb(177, 48, 76);
/* oklch */ color: oklch(51.4% 0.165 12.8);
Tailwind
colors: {
  custom: {
    50: '#cf727d',
    500: '#b1304c',
    950: '#000000',
  },
}
SCSS
$custom: #b1304c;
$custom-light: #cf727d;
$custom-dark: #000000;
JSON
{
  "hex": "#b1304c",
  "rgb": {
    "r": 177,
    "g": 48,
    "b": 76
  },
  "hsl": {
    "h": 346.977,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51398,
    "c": 0.16492,
    "h": 12.8
  },
  "luminance": 0.11983
}

Semantic roles & 50–950 ramp

primary
#B1304C
secondary
#78C5B4
accent
#E1BF47
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150909
muted
#837B7B

Preview Lab

Preview with #B1304C

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

Preview Lab → · Contrast checker → · Palette generator →

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