#B02542#B02542

#B02542 is a mid, vivid red. Relative luminance 0.109; OKLCH L 50.0% C 0.174 H 15.1°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#B02542
RGBrgb(176, 37, 66)
HSLhsl(347, 65%, 42%)
HSVhsv(347, 79%, 69%)
CMYKcmyk(0%, 79%, 62.5%, 31%)
CIE-LABlab(39.50, 55.95, 18.58)
CIE-LCHlch(39.50, 58.96, 18.37°)
OKLaboklab(50.04% 0.1677 0.0452)
OKLCHoklch(50.04% 0.174 15.1)
XYZxyz(19.5515, 10.9495, 6.2372)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02542 #25B093
analogous
#B02588 #B02542 #B04E25
triadic
#B02542 #42B025 #2542B0
tetradic
#B02542 #88B025 #25B093 #4E25B0
square
#B02542 #88B025 #25B093 #4E25B0
split-complementary
#B02542 #25B04E #2588B0
monochromatic
#4B101C #7D1A2F #B02542 #D63C5C #E16F87

Accessibility & contrast

On white

6.58
#B02542 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#B02542 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02542
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02542#FFFFFF#000000##FFFFFF
##B025421.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4B42
Deuteranopia (green-blind)
#70673E
Tritanopia (blue-blind)
#C10032
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b02542;
/* rgb */ color: rgb(176, 37, 66);
/* oklch */ color: oklch(50.0% 0.174 15.1);
Tailwind
colors: {
  custom: {
    50: '#cf6d76',
    500: '#b02542',
    950: '#000000',
  },
}
SCSS
$custom: #b02542;
$custom-light: #cf6d76;
$custom-dark: #000000;
JSON
{
  "hex": "#b02542",
  "rgb": {
    "r": 176,
    "g": 37,
    "b": 66
  },
  "hsl": {
    "h": 347.482,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50037,
    "c": 0.17369,
    "h": 15.1
  },
  "luminance": 0.10947
}

Semantic roles & 50–950 ramp

primary
#B02542
secondary
#6AC7B4
accent
#E8C540
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B02542

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

Preview Lab → · Contrast checker → · Palette generator →

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