#B02440#B02440

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

Color values

HEX#B02440
RGBrgb(176, 36, 64)
HSLhsl(348, 66%, 42%)
HSVhsv(348, 80%, 69%)
CMYKcmyk(0%, 79.5%, 63.6%, 31%)
CIE-LABlab(39.35, 56.12, 19.66)
CIE-LCHlch(39.35, 59.47, 19.31°)
OKLaboklab(49.92% 0.1679 0.0475)
OKLCHoklch(49.92% 0.174 15.8)
XYZxyz(19.4629, 10.8650, 5.9218)
Luminance0.1086 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02440 #24B094
analogous
#B02486 #B02440 #B04E24
triadic
#B02440 #40B024 #2440B0
tetradic
#B02440 #86B024 #24B094 #4E24B0
square
#B02440 #86B024 #24B094 #4E24B0
split-complementary
#B02440 #24B04E #2486B0
monochromatic
#4A0F1B #7D1A2E #B02440 #D73A5A #E16D84

Accessibility & contrast

On white

6.62
#B02440 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02440
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02440#FFFFFF#000000##FFFFFF
##B024401.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4A40
Deuteranopia (green-blind)
#70673C
Tritanopia (blue-blind)
#C10030
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b02440;
/* rgb */ color: rgb(176, 36, 64);
/* oklch */ color: oklch(49.9% 0.174 15.8);
Tailwind
colors: {
  custom: {
    50: '#cf6d74',
    500: '#b02440',
    950: '#000000',
  },
}
SCSS
$custom: #b02440;
$custom-light: #cf6d74;
$custom-dark: #000000;
JSON
{
  "hex": "#b02440",
  "rgb": {
    "r": 176,
    "g": 36,
    "b": 64
  },
  "hsl": {
    "h": 348,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49919,
    "c": 0.17446,
    "h": 15.8
  },
  "luminance": 0.10862
}

Semantic roles & 50–950 ramp

primary
#B02440
secondary
#68C8B4
accent
#E9C73F
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B02440

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

Preview Lab → · Contrast checker → · Palette generator →

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