#B02727#B02727

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

Color values

HEX#B02727
RGBrgb(176, 39, 39)
HSLhsl(0, 64%, 42%)
HSVhsv(0, 78%, 69%)
CMYKcmyk(0%, 77.8%, 77.8%, 31%)
CIE-LABlab(39.29, 54.01, 34.87)
CIE-LCHlch(39.29, 64.29, 32.84°)
OKLaboklab(49.75% 0.1557 0.0768)
OKLCHoklch(49.75% 0.174 26.3)
XYZxyz(18.9985, 10.8306, 3.0092)
Luminance0.1083 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02727 #27B0B0
analogous
#B0276C #B02727 #B06C27
triadic
#B02727 #27B027 #2727B0
tetradic
#B02727 #6CB027 #27B0B0 #6C27B0
square
#B02727 #6CB027 #27B0B0 #6C27B0
split-complementary
#B02727 #27B06C #276CB0
monochromatic
#4C1111 #7E1C1C #B02727 #D54040 #E07272

Accessibility & contrast

On white

6.63
#B02727 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02727
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02727#FFFFFF#000000##FFFFFF
##B027271.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514A25
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#C20029
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b02727;
/* rgb */ color: rgb(176, 39, 39);
/* oklch */ color: oklch(49.8% 0.174 26.3);
Tailwind
colors: {
  custom: {
    50: '#d16e62',
    500: '#b02727',
    950: '#000000',
  },
}
SCSS
$custom: #b02727;
$custom-light: #d16e62;
$custom-dark: #000000;
JSON
{
  "hex": "#b02727",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 39
  },
  "hsl": {
    "h": 0,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49753,
    "c": 0.17355,
    "h": 26.3
  },
  "luminance": 0.10828
}

Semantic roles & 50–950 ramp

primary
#B02727
secondary
#6CC7C7
accent
#E7E741
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B02727

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

Preview Lab → · Contrast checker → · Palette generator →

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