#B02734#B02734

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

Color values

HEX#B02734
RGBrgb(176, 39, 52)
HSLhsl(354, 64%, 42%)
HSVhsv(354, 78%, 69%)
CMYKcmyk(0%, 77.8%, 70.5%, 31%)
CIE-LABlab(39.47, 54.56, 27.29)
CIE-LCHlch(39.47, 61.01, 26.57°)
OKLaboklab(49.94% 0.1603 0.0631)
OKLCHoklch(49.94% 0.172 21.5)
XYZxyz(19.2520, 10.9321, 4.3445)
Luminance0.1093 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02734 #27B0A3
analogous
#B02778 #B02734 #B05F27
triadic
#B02734 #34B027 #2734B0
tetradic
#B02734 #78B027 #27B0A3 #5F27B0
square
#B02734 #78B027 #27B0A3 #5F27B0
split-complementary
#B02734 #27B05F #2778B0
monochromatic
#4C1116 #7E1C25 #B02734 #D5404E #E0727C

Accessibility & contrast

On white

6.59
#B02734 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02734
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02734#FFFFFF#000000##FFFFFF
##B027341.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504A33
Deuteranopia (green-blind)
#726730
Tritanopia (blue-blind)
#C2002D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b02734;
/* rgb */ color: rgb(176, 39, 52);
/* oklch */ color: oklch(49.9% 0.172 21.5);
Tailwind
colors: {
  custom: {
    50: '#d06e6b',
    500: '#b02734',
    950: '#000000',
  },
}
SCSS
$custom: #b02734;
$custom-light: #d06e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#b02734",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 52
  },
  "hsl": {
    "h": 354.307,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49936,
    "c": 0.17227,
    "h": 21.5
  },
  "luminance": 0.10929
}

Semantic roles & 50–950 ramp

primary
#B02734
secondary
#6CC7BE
accent
#E7D741
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #B02734

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

Preview Lab → · Contrast checker → · Palette generator →

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