#B02938#B02938

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

Color values

HEX#B02938
RGBrgb(176, 41, 56)
HSLhsl(353, 62%, 43%)
HSVhsv(353, 77%, 69%)
CMYKcmyk(0%, 76.7%, 68.2%, 31%)
CIE-LABlab(39.76, 54.13, 25.18)
CIE-LCHlch(39.76, 59.70, 24.94°)
OKLaboklab(50.17% 0.1598 0.0591)
OKLCHoklch(50.17% 0.17 20.3)
XYZxyz(19.4134, 11.1045, 4.8618)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02938 #29B0A1
analogous
#B0297C #B02938 #B05D29
triadic
#B02938 #38B029 #2938B0
tetradic
#B02938 #7CB029 #29B0A1 #5D29B0
square
#B02938 #7CB029 #29B0A1 #5D29B0
split-complementary
#B02938 #29B05D #297CB0
monochromatic
#4D1218 #7E1D28 #B02938 #D34353 #DF7580

Accessibility & contrast

On white

6.52
#B02938 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02938
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02938#FFFFFF#000000##FFFFFF
##B029381.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514B37
Deuteranopia (green-blind)
#726834
Tritanopia (blue-blind)
#C10030
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b02938;
/* rgb */ color: rgb(176, 41, 56);
/* oklch */ color: oklch(50.2% 0.170 20.3);
Tailwind
colors: {
  custom: {
    50: '#cf6f6e',
    500: '#b02938',
    950: '#000000',
  },
}
SCSS
$custom: #b02938;
$custom-light: #cf6f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b02938",
  "rgb": {
    "r": 176,
    "g": 41,
    "b": 56
  },
  "hsl": {
    "h": 353.333,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50172,
    "c": 0.17036,
    "h": 20.3
  },
  "luminance": 0.11102
}

Semantic roles & 50–950 ramp

primary
#B02938
secondary
#6FC6BC
accent
#E5D343
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #B02938

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

Preview Lab → · Contrast checker → · Palette generator →

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