#B02538#B02538

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

Color values

HEX#B02538
RGBrgb(176, 37, 56)
HSLhsl(352, 65%, 42%)
HSVhsv(352, 79%, 69%)
CMYKcmyk(0%, 79%, 68.2%, 31%)
CIE-LABlab(39.31, 55.38, 24.63)
CIE-LCHlch(39.31, 60.61, 23.98°)
OKLaboklab(49.84% 0.1638 0.0578)
OKLCHoklch(49.84% 0.174 19.4)
XYZxyz(19.2820, 10.8417, 4.8180)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02538 #25B09D
analogous
#B0257D #B02538 #B05825
triadic
#B02538 #38B025 #2538B0
tetradic
#B02538 #7DB025 #25B09D #5825B0
square
#B02538 #7DB025 #25B09D #5825B0
split-complementary
#B02538 #25B058 #257DB0
monochromatic
#4B1018 #7D1A28 #B02538 #D63C51 #E16F7E

Accessibility & contrast

On white

6.63
#B02538 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#B02538 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02538
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02538#FFFFFF#000000##FFFFFF
##B025381.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4A38
Deuteranopia (green-blind)
#716734
Tritanopia (blue-blind)
#C2002E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b02538;
/* rgb */ color: rgb(176, 37, 56);
/* oklch */ color: oklch(49.8% 0.174 19.4);
Tailwind
colors: {
  custom: {
    50: '#d06d6e',
    500: '#b02538',
    950: '#000000',
  },
}
SCSS
$custom: #b02538;
$custom-light: #d06d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b02538",
  "rgb": {
    "r": 176,
    "g": 37,
    "b": 56
  },
  "hsl": {
    "h": 351.799,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49843,
    "c": 0.17368,
    "h": 19.4
  },
  "luminance": 0.10839
}

Semantic roles & 50–950 ramp

primary
#B02538
secondary
#6AC7BA
accent
#E8D140
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #B02538

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

Preview Lab → · Contrast checker → · Palette generator →

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