#B02940#B02940

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

Color values

HEX#B02940
RGBrgb(176, 41, 64)
HSLhsl(350, 62%, 43%)
HSVhsv(350, 77%, 69%)
CMYKcmyk(0%, 76.7%, 63.6%, 31%)
CIE-LABlab(39.90, 54.59, 20.37)
CIE-LCHlch(39.90, 58.26, 20.46°)
OKLaboklab(50.32% 0.1629 0.0491)
OKLCHoklch(50.32% 0.17 16.8)
XYZxyz(19.6249, 11.1891, 5.9758)
Luminance0.1119 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02940 #29B099
analogous
#B02983 #B02940 #B05629
triadic
#B02940 #40B029 #2940B0
tetradic
#B02940 #83B029 #29B099 #5629B0
square
#B02940 #83B029 #29B099 #5629B0
split-complementary
#B02940 #29B056 #2983B0
monochromatic
#4D121C #7E1D2E #B02940 #D3435C #DF7587

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B02940#FFFFFF#000000##FFFFFF
##B029401.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)
#4F4C40
Deuteranopia (green-blind)
#72683C
Tritanopia (blue-blind)
#C10033
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b02940;
/* rgb */ color: rgb(176, 41, 64);
/* oklch */ color: oklch(50.3% 0.170 16.8);
Tailwind
colors: {
  custom: {
    50: '#cf6f74',
    500: '#b02940',
    950: '#000000',
  },
}
SCSS
$custom: #b02940;
$custom-light: #cf6f74;
$custom-dark: #000000;
JSON
{
  "hex": "#b02940",
  "rgb": {
    "r": 176,
    "g": 41,
    "b": 64
  },
  "hsl": {
    "h": 349.778,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50322,
    "c": 0.17017,
    "h": 16.8
  },
  "luminance": 0.11186
}

Semantic roles & 50–950 ramp

primary
#B02940
secondary
#6FC6B7
accent
#E5CA43
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B02940

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

Preview Lab → · Contrast checker → · Palette generator →

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