#B02127#B02127

#B02127 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.3% C 0.178 H 25.0°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#B02127
RGBrgb(176, 33, 39)
HSLhsl(357, 68%, 41%)
HSVhsv(357, 81%, 69%)
CMYKcmyk(0%, 81.3%, 77.8%, 31%)
CIE-LABlab(38.67, 55.77, 34.20)
CIE-LCHlch(38.67, 65.42, 31.51°)
OKLaboklab(49.29% 0.1612 0.0753)
OKLCHoklch(49.29% 0.178 25)
XYZxyz(18.8168, 10.4673, 2.9487)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02127 #21B0AA
analogous
#B0216E #B02127 #B06321
triadic
#B02127 #27B021 #2127B0
tetradic
#B02127 #6EB021 #21B0AA #6321B0
square
#B02127 #6EB021 #21B0AA #6321B0
split-complementary
#B02127 #21B063 #216EB0
monochromatic
#490E10 #7C171C #B02127 #D9353C #E3696E

Accessibility & contrast

On white

6.79
#B02127 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#B02127 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02127
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02127#FFFFFF#000000##FFFFFF
##B021271.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4725
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#C20025
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #b02127;
/* rgb */ color: rgb(176, 33, 39);
/* oklch */ color: oklch(49.3% 0.178 25.0);
Tailwind
colors: {
  custom: {
    50: '#d16b61',
    500: '#b02127',
    950: '#000000',
  },
}
SCSS
$custom: #b02127;
$custom-light: #d16b61;
$custom-dark: #000000;
JSON
{
  "hex": "#b02127",
  "rgb": {
    "r": 176,
    "g": 33,
    "b": 39
  },
  "hsl": {
    "h": 357.483,
    "s": 68.421,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49289,
    "c": 0.17794,
    "h": 25
  },
  "luminance": 0.10464
}

Semantic roles & 50–950 ramp

primary
#B02127
secondary
#64C8C4
accent
#EBE43D
background
#FEF6F5
surface
#FCECEA
border
#D5C7C6
text
#160805
muted
#847A79

Preview Lab

Preview with #B02127

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

Preview Lab → · Contrast checker → · Palette generator →

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