#BD2227#BD2227

#BD2227 is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.8% C 0.189 H 25.7°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#BD2227
RGBrgb(189, 34, 39)
HSLhsl(358, 70%, 44%)
HSVhsv(358, 82%, 74%)
CMYKcmyk(0%, 82%, 79.4%, 25.9%)
CIE-LABlab(41.40, 59.26, 37.87)
CIE-LCHlch(41.40, 70.33, 32.58°)
OKLaboklab(51.77% 0.1707 0.0822)
OKLCHoklch(51.77% 0.189 25.7)
XYZxyz(21.9272, 12.1129, 3.1026)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD2227 #22BDB8
analogous
#BD2274 #BD2227 #BD6B22
triadic
#BD2227 #27BD22 #2227BD
tetradic
#BD2227 #74BD22 #22BDB8 #6B22BD
square
#BD2227 #74BD22 #22BDB8 #6B22BD
split-complementary
#BD2227 #22BD6B #2274BD
monochromatic
#550F12 #89191C #BD2227 #DD4045 #E67377

Accessibility & contrast

On white

6.14
#BD2227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#BD2227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD2227
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD2227#FFFFFF#000000##FFFFFF
##BD22271.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C25
Deuteranopia (green-blind)
#7A6D20
Tritanopia (blue-blind)
#D00026
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #bd2227;
/* rgb */ color: rgb(189, 34, 39);
/* oklch */ color: oklch(51.8% 0.189 25.7);
Tailwind
colors: {
  custom: {
    50: '#db6e62',
    500: '#bd2227',
    950: '#000000',
  },
}
SCSS
$custom: #bd2227;
$custom-light: #db6e62;
$custom-dark: #000000;
JSON
{
  "hex": "#bd2227",
  "rgb": {
    "r": 189,
    "g": 34,
    "b": 39
  },
  "hsl": {
    "h": 358.065,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51774,
    "c": 0.18944,
    "h": 25.7
  },
  "luminance": 0.12109
}

Semantic roles & 50–950 ramp

primary
#BD2227
secondary
#6ECDCA
accent
#ECE73B
background
#FEF7F5
surface
#FDEDEA
border
#D5C8C6
text
#170805
muted
#857B79

Preview Lab

Preview with #BD2227

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

Preview Lab → · Contrast checker → · Palette generator →

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