#B02A42#B02A42

#B02A42 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.4% C 0.169 H 16.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#B02A42
RGBrgb(176, 42, 66)
HSLhsl(349, 61%, 43%)
HSVhsv(349, 76%, 69%)
CMYKcmyk(0%, 76.1%, 62.5%, 31%)
CIE-LABlab(40.05, 54.39, 19.32)
CIE-LCHlch(40.05, 57.72, 19.55°)
OKLaboklab(50.45% 0.1627 0.0469)
OKLCHoklch(50.45% 0.169 16.1)
XYZxyz(19.7179, 11.2823, 6.2926)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A42 #2AB098
analogous
#B02A85 #B02A42 #B0552A
triadic
#B02A42 #42B02A #2A42B0
tetradic
#B02A42 #85B02A #2AB098 #552AB0
square
#B02A42 #85B02A #2AB098 #552AB0
split-complementary
#B02A42 #2AB055 #2A85B0
monochromatic
#4D121D #7F1E2F #B02A42 #D3455E #DE7689

Accessibility & contrast

On white

6.45
#B02A42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#B02A42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02A42
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A42#FFFFFF#000000##FFFFFF
##B02A421.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504D42
Deuteranopia (green-blind)
#72683E
Tritanopia (blue-blind)
#C10034
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b02a42;
/* rgb */ color: rgb(176, 42, 66);
/* oklch */ color: oklch(50.4% 0.169 16.1);
Tailwind
colors: {
  custom: {
    50: '#cf6f76',
    500: '#b02a42',
    950: '#000000',
  },
}
SCSS
$custom: #b02a42;
$custom-light: #cf6f76;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a42",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 66
  },
  "hsl": {
    "h": 349.254,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50449,
    "c": 0.16929,
    "h": 16.1
  },
  "luminance": 0.11279
}

Semantic roles & 50–950 ramp

primary
#B02A42
secondary
#70C6B7
accent
#E5C843
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B02A42

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

Preview Lab → · Contrast checker → · Palette generator →

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