#B8304F#B8304F

#B8304F is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.7% C 0.172 H 12.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#B8304F
RGBrgb(184, 48, 79)
HSLhsl(346, 59%, 45%)
HSVhsv(346, 74%, 72%)
CMYKcmyk(0%, 73.9%, 57.1%, 27.8%)
CIE-LABlab(42.57, 55.64, 14.81)
CIE-LCHlch(42.57, 57.58, 14.90°)
OKLaboklab(52.68% 0.168 0.037)
OKLCHoklch(52.68% 0.172 12.4)
XYZxyz(22.2375, 12.8719, 8.7092)
Luminance0.1287 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8304F #30B899
analogous
#B83093 #B8304F #B85530
triadic
#B8304F #4FB830 #304FB8
tetradic
#B8304F #93B830 #30B899 #5530B8
square
#B8304F #93B830 #30B899 #5530B8
split-complementary
#B8304F #30B855 #3093B8
monochromatic
#571725 #87233A #B8304F #D25370 #DF8498

Accessibility & contrast

On white

5.88
#B8304F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#B8304F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8304F
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8304F#FFFFFF#000000##FFFFFF
##B8304F1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54534F
Deuteranopia (green-blind)
#776F4C
Tritanopia (blue-blind)
#C9053D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b8304f;
/* rgb */ color: rgb(184, 48, 79);
/* oklch */ color: oklch(52.7% 0.172 12.4);
Tailwind
colors: {
  custom: {
    50: '#d47380',
    500: '#b8304f',
    950: '#000000',
  },
}
SCSS
$custom: #b8304f;
$custom-light: #d47380;
$custom-dark: #000000;
JSON
{
  "hex": "#b8304f",
  "rgb": {
    "r": 184,
    "g": 48,
    "b": 79
  },
  "hsl": {
    "h": 346.324,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52679,
    "c": 0.17202,
    "h": 12.4
  },
  "luminance": 0.12869
}

Semantic roles & 50–950 ramp

primary
#B8304F
secondary
#7CC8B7
accent
#E2BE46
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #B8304F

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

Preview Lab → · Contrast checker → · Palette generator →

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