#B02438#B02438

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

Color values

HEX#B02438
RGBrgb(176, 36, 56)
HSLhsl(351, 66%, 42%)
HSVhsv(351, 80%, 69%)
CMYKcmyk(0%, 79.5%, 68.2%, 31%)
CIE-LABlab(39.21, 55.67, 24.50)
CIE-LCHlch(39.21, 60.82, 23.75°)
OKLaboklab(49.77% 0.1647 0.0575)
OKLCHoklch(49.77% 0.174 19.3)
XYZxyz(19.2513, 10.7804, 4.8078)
Luminance0.1078 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02438 #24B09C
analogous
#B0247E #B02438 #B05624
triadic
#B02438 #38B024 #2438B0
tetradic
#B02438 #7EB024 #24B09C #5624B0
square
#B02438 #7EB024 #24B09C #5624B0
split-complementary
#B02438 #24B056 #247EB0
monochromatic
#4A0F18 #7D1A28 #B02438 #D73A51 #E16D7E

Accessibility & contrast

On white

6.66
#B02438 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02438
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02438#FFFFFF#000000##FFFFFF
##B024381.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4938
Deuteranopia (green-blind)
#716734
Tritanopia (blue-blind)
#C2002D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b02438;
/* rgb */ color: rgb(176, 36, 56);
/* oklch */ color: oklch(49.8% 0.174 19.3);
Tailwind
colors: {
  custom: {
    50: '#d06d6e',
    500: '#b02438',
    950: '#000000',
  },
}
SCSS
$custom: #b02438;
$custom-light: #d06d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b02438",
  "rgb": {
    "r": 176,
    "g": 36,
    "b": 56
  },
  "hsl": {
    "h": 351.429,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49766,
    "c": 0.17448,
    "h": 19.3
  },
  "luminance": 0.10777
}

Semantic roles & 50–950 ramp

primary
#B02438
secondary
#68C8BA
accent
#E9D13F
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #B02438

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

Preview Lab → · Contrast checker → · Palette generator →

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