#B02840#B02840

#B02840 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.2% C 0.171 H 16.6°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#B02840
RGBrgb(176, 40, 64)
HSLhsl(349, 63%, 42%)
HSVhsv(349, 77%, 69%)
CMYKcmyk(0%, 77.3%, 63.6%, 31%)
CIE-LABlab(39.78, 54.91, 20.22)
CIE-LCHlch(39.78, 58.51, 20.22°)
OKLaboklab(50.24% 0.164 0.0488)
OKLCHoklch(50.24% 0.171 16.6)
XYZxyz(19.5908, 11.1208, 5.9645)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02840 #28B098
analogous
#B02884 #B02840 #B05428
triadic
#B02840 #40B028 #2840B0
tetradic
#B02840 #84B028 #28B098 #5428B0
square
#B02840 #84B028 #28B098 #5428B0
split-complementary
#B02840 #28B054 #2884B0
monochromatic
#4C111C #7E1D2E #B02840 #D4415B #DF7386

Accessibility & contrast

On white

6.51
#B02840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#B02840 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02840
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02840#FFFFFF#000000##FFFFFF
##B028401.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4C40
Deuteranopia (green-blind)
#71683C
Tritanopia (blue-blind)
#C10032
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b02840;
/* rgb */ color: rgb(176, 40, 64);
/* oklch */ color: oklch(50.2% 0.171 16.6);
Tailwind
colors: {
  custom: {
    50: '#cf6f74',
    500: '#b02840',
    950: '#000000',
  },
}
SCSS
$custom: #b02840;
$custom-light: #cf6f74;
$custom-dark: #000000;
JSON
{
  "hex": "#b02840",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 64
  },
  "hsl": {
    "h": 349.412,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50238,
    "c": 0.17106,
    "h": 16.6
  },
  "luminance": 0.11118
}

Semantic roles & 50–950 ramp

primary
#B02840
secondary
#6DC6B7
accent
#E6C942
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B02840

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

Preview Lab → · Contrast checker → · Palette generator →

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