#B02740#B02740

#B02740 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.2% C 0.172 H 16.4°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#B02740
RGBrgb(176, 39, 64)
HSLhsl(349, 64%, 42%)
HSVhsv(349, 78%, 69%)
CMYKcmyk(0%, 77.8%, 63.6%, 31%)
CIE-LABlab(39.67, 55.22, 20.08)
CIE-LCHlch(39.67, 58.76, 19.98°)
OKLaboklab(50.16% 0.165 0.0484)
OKLCHoklch(50.16% 0.172 16.4)
XYZxyz(19.5575, 11.0542, 5.9534)
Luminance0.1105 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02740 #27B097
analogous
#B02785 #B02740 #B05327
triadic
#B02740 #40B027 #2740B0
tetradic
#B02740 #85B027 #27B097 #5327B0
square
#B02740 #85B027 #27B097 #5327B0
split-complementary
#B02740 #27B053 #2785B0
monochromatic
#4C111C #7E1C2E #B02740 #D5405B #E07286

Accessibility & contrast

On white

6.54
#B02740 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#B02740 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02740
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02740#FFFFFF#000000##FFFFFF
##B027401.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4B40
Deuteranopia (green-blind)
#71683C
Tritanopia (blue-blind)
#C10032
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b02740;
/* rgb */ color: rgb(176, 39, 64);
/* oklch */ color: oklch(50.2% 0.172 16.4);
Tailwind
colors: {
  custom: {
    50: '#cf6e74',
    500: '#b02740',
    950: '#000000',
  },
}
SCSS
$custom: #b02740;
$custom-light: #cf6e74;
$custom-dark: #000000;
JSON
{
  "hex": "#b02740",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 64
  },
  "hsl": {
    "h": 349.051,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50155,
    "c": 0.17193,
    "h": 16.4
  },
  "luminance": 0.11051
}

Semantic roles & 50–950 ramp

primary
#B02740
secondary
#6CC7B6
accent
#E7C941
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B02740

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

Preview Lab → · Contrast checker → · Palette generator →

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