#B02340#B02340

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

Color values

HEX#B02340
RGBrgb(176, 35, 64)
HSLhsl(348, 67%, 41%)
HSVhsv(348, 80%, 69%)
CMYKcmyk(0%, 80.1%, 63.6%, 31%)
CIE-LABlab(39.25, 56.41, 19.53)
CIE-LCHlch(39.25, 59.69, 19.09°)
OKLaboklab(49.84% 0.1688 0.0472)
OKLCHoklch(49.84% 0.175 15.6)
XYZxyz(19.4330, 10.8053, 5.9119)
Luminance0.1080 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02340 #23B093
analogous
#B02387 #B02340 #B04D23
triadic
#B02340 #40B023 #2340B0
tetradic
#B02340 #87B023 #23B093 #4D23B0
square
#B02340 #87B023 #23B093 #4D23B0
split-complementary
#B02340 #23B04D #2387B0
monochromatic
#4A0F1B #7D192D #B02340 #D83959 #E26C84

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B02340#FFFFFF#000000##FFFFFF
##B023401.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)
#4D4A40
Deuteranopia (green-blind)
#70673C
Tritanopia (blue-blind)
#C10030
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b02340;
/* rgb */ color: rgb(176, 35, 64);
/* oklch */ color: oklch(49.8% 0.175 15.6);
Tailwind
colors: {
  custom: {
    50: '#cf6d74',
    500: '#b02340',
    950: '#000000',
  },
}
SCSS
$custom: #b02340;
$custom-light: #cf6d74;
$custom-dark: #000000;
JSON
{
  "hex": "#b02340",
  "rgb": {
    "r": 176,
    "g": 35,
    "b": 64
  },
  "hsl": {
    "h": 347.66,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49844,
    "c": 0.17526,
    "h": 15.6
  },
  "luminance": 0.10802
}

Semantic roles & 50–950 ramp

primary
#B02340
secondary
#67C8B4
accent
#EAC63E
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B02340

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

Preview Lab → · Contrast checker → · Palette generator →

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