#B02F27#B02F27

#B02F27 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.167 H 28.2°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#B02F27
RGBrgb(176, 47, 39)
HSLhsl(4, 64%, 42%)
HSVhsv(4, 78%, 69%)
CMYKcmyk(0%, 73.3%, 77.8%, 31%)
CIE-LABlab(40.27, 51.30, 35.90)
CIE-LCHlch(40.27, 62.62, 34.98°)
OKLaboklab(50.48% 0.1471 0.079)
OKLCHoklch(50.48% 0.167 28.2)
XYZxyz(19.2895, 11.4126, 3.1062)
Luminance0.1141 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02F27 #27A8B0
analogous
#B02763 #B02F27 #B07427
triadic
#B02F27 #27B02F #2F27B0
tetradic
#B02F27 #63B027 #27A8B0 #7427B0
square
#B02F27 #63B027 #27A8B0 #7427B0
split-complementary
#B02F27 #27B074 #2763B0
monochromatic
#4C1411 #7E221C #B02F27 #D54840 #E07872

Accessibility & contrast

On white

6.40
#B02F27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#B02F27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02F27
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02F27#FFFFFF#000000##FFFFFF
##B02F271.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D25
Deuteranopia (green-blind)
#756922
Tritanopia (blue-blind)
#C2002F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b02f27;
/* rgb */ color: rgb(176, 47, 39);
/* oklch */ color: oklch(50.5% 0.167 28.2);
Tailwind
colors: {
  custom: {
    50: '#d07162',
    500: '#b02f27',
    950: '#000000',
  },
}
SCSS
$custom: #b02f27;
$custom-light: #d07162;
$custom-dark: #000000;
JSON
{
  "hex": "#b02f27",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 39
  },
  "hsl": {
    "h": 3.504,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50478,
    "c": 0.16699,
    "h": 28.2
  },
  "luminance": 0.1141
}

Semantic roles & 50–950 ramp

primary
#B02F27
secondary
#6CC1C7
accent
#DDE741
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B02F27

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

Preview Lab → · Contrast checker → · Palette generator →

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