#B02845#B02845

#B02845 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.3% C 0.171 H 14.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#B02845
RGBrgb(176, 40, 69)
HSLhsl(347, 63%, 42%)
HSVhsv(347, 77%, 69%)
CMYKcmyk(0%, 77.3%, 60.8%, 31%)
CIE-LABlab(39.88, 55.23, 17.20)
CIE-LCHlch(39.88, 57.84, 17.30°)
OKLaboklab(50.34% 0.1659 0.0422)
OKLCHoklch(50.34% 0.171 14.3)
XYZxyz(19.7395, 11.1803, 6.7477)
Luminance0.1118 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02845 #28B093
analogous
#B02889 #B02845 #B04F28
triadic
#B02845 #45B028 #2845B0
tetradic
#B02845 #89B028 #28B093 #4F28B0
square
#B02845 #89B028 #28B093 #4F28B0
split-complementary
#B02845 #28B04F #2889B0
monochromatic
#4C111E #7E1D31 #B02845 #D44161 #DF738A

Accessibility & contrast

On white

6.49
#B02845 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02845
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02845#FFFFFF#000000##FFFFFF
##B028451.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4C45
Deuteranopia (green-blind)
#716841
Tritanopia (blue-blind)
#C10034
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b02845;
/* rgb */ color: rgb(176, 40, 69);
/* oklch */ color: oklch(50.3% 0.171 14.3);
Tailwind
colors: {
  custom: {
    50: '#cf6f78',
    500: '#b02845',
    950: '#000000',
  },
}
SCSS
$custom: #b02845;
$custom-light: #cf6f78;
$custom-dark: #000000;
JSON
{
  "hex": "#b02845",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 69
  },
  "hsl": {
    "h": 347.206,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50343,
    "c": 0.17123,
    "h": 14.3
  },
  "luminance": 0.11177
}

Semantic roles & 50–950 ramp

primary
#B02845
secondary
#6DC6B3
accent
#E6C342
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B02845

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

Preview Lab → · Contrast checker → · Palette generator →

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