#B02742#B02742

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

Color values

HEX#B02742
RGBrgb(176, 39, 66)
HSLhsl(348, 64%, 42%)
HSVhsv(348, 78%, 69%)
CMYKcmyk(0%, 77.8%, 62.5%, 31%)
CIE-LABlab(39.71, 55.34, 18.87)
CIE-LCHlch(39.71, 58.47, 18.82°)
OKLaboklab(50.2% 0.1658 0.0458)
OKLCHoklch(50.2% 0.172 15.5)
XYZxyz(19.6154, 11.0774, 6.2585)
Luminance0.1107 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02742 #27B095
analogous
#B02787 #B02742 #B05027
triadic
#B02742 #42B027 #2742B0
tetradic
#B02742 #87B027 #27B095 #5027B0
square
#B02742 #87B027 #27B095 #5027B0
split-complementary
#B02742 #27B050 #2787B0
monochromatic
#4C111C #7E1C2F #B02742 #D5405D #E07287

Accessibility & contrast

On white

6.53
#B02742 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02742
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02742#FFFFFF#000000##FFFFFF
##B027421.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4B42
Deuteranopia (green-blind)
#71683E
Tritanopia (blue-blind)
#C10033
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b02742;
/* rgb */ color: rgb(176, 39, 66);
/* oklch */ color: oklch(50.2% 0.172 15.5);
Tailwind
colors: {
  custom: {
    50: '#cf6e76',
    500: '#b02742',
    950: '#000000',
  },
}
SCSS
$custom: #b02742;
$custom-light: #cf6e76;
$custom-dark: #000000;
JSON
{
  "hex": "#b02742",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 66
  },
  "hsl": {
    "h": 348.175,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50196,
    "c": 0.17198,
    "h": 15.5
  },
  "luminance": 0.11074
}

Semantic roles & 50–950 ramp

primary
#B02742
secondary
#6CC7B5
accent
#E7C641
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B02742

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

Preview Lab → · Contrast checker → · Palette generator →

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