#B02535#B02535

#B02535 is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.8% C 0.174 H 20.7°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#B02535
RGBrgb(176, 37, 53)
HSLhsl(353, 65%, 42%)
HSVhsv(353, 79%, 69%)
CMYKcmyk(0%, 79%, 69.9%, 31%)
CIE-LABlab(39.26, 55.22, 26.43)
CIE-LCHlch(39.26, 61.22, 25.57°)
OKLaboklab(49.79% 0.1626 0.0614)
OKLCHoklch(49.79% 0.174 20.7)
XYZxyz(19.2108, 10.8133, 4.4431)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02535 #25B0A0
analogous
#B0257A #B02535 #B05B25
triadic
#B02535 #35B025 #2535B0
tetradic
#B02535 #7AB025 #25B0A0 #5B25B0
square
#B02535 #7AB025 #25B0A0 #5B25B0
split-complementary
#B02535 #25B05B #257AB0
monochromatic
#4B1017 #7D1A26 #B02535 #D63C4E #E16F7C

Accessibility & contrast

On white

6.64
#B02535 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#B02535 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02535
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02535#FFFFFF#000000##FFFFFF
##B025351.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4A34
Deuteranopia (green-blind)
#726731
Tritanopia (blue-blind)
#C2002C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b02535;
/* rgb */ color: rgb(176, 37, 53);
/* oklch */ color: oklch(49.8% 0.174 20.7);
Tailwind
colors: {
  custom: {
    50: '#d06d6c',
    500: '#b02535',
    950: '#000000',
  },
}
SCSS
$custom: #b02535;
$custom-light: #d06d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#b02535",
  "rgb": {
    "r": 176,
    "g": 37,
    "b": 53
  },
  "hsl": {
    "h": 353.094,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49792,
    "c": 0.17382,
    "h": 20.7
  },
  "luminance": 0.1081
}

Semantic roles & 50–950 ramp

primary
#B02535
secondary
#6AC7BC
accent
#E8D540
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #B02535

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

Preview Lab → · Contrast checker → · Palette generator →

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