#8B2238#8B2238

#8B2238 is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.8% C 0.140 H 13.6°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#8B2238
RGBrgb(139, 34, 56)
HSLhsl(347, 61%, 34%)
HSVhsv(347, 76%, 55%)
CMYKcmyk(0%, 75.5%, 59.7%, 45.5%)
CIE-LABlab(31.62, 45.10, 13.23)
CIE-LCHlch(31.62, 47.00, 16.35°)
OKLaboklab(42.83% 0.1358 0.0328)
OKLCHoklch(42.83% 0.14 13.6)
XYZxyz(11.9345, 6.9203, 4.4479)
Luminance0.0692 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2238 #228B75
analogous
#8B226D #8B2238 #8B4122
triadic
#8B2238 #388B22 #22388B
tetradic
#8B2238 #6D8B22 #228B75 #41228B
square
#8B2238 #6D8B22 #228B75 #41228B
split-complementary
#8B2238 #228B41 #226D8B
monochromatic
#290A10 #5A1624 #8B2238 #BC2E4C #D5536E

Accessibility & contrast

On white

8.81
#8B2238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#8B2238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2238
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2238#FFFFFF#000000##FFFFFF
##8B22381.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3D38
Deuteranopia (green-blind)
#595235
Tritanopia (blue-blind)
#98022B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8b2238;
/* rgb */ color: rgb(139, 34, 56);
/* oklch */ color: oklch(42.8% 0.140 13.6);
Tailwind
colors: {
  custom: {
    50: '#b3666e',
    500: '#8b2238',
    950: '#000000',
  },
}
SCSS
$custom: #8b2238;
$custom-light: #b3666e;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2238",
  "rgb": {
    "r": 139,
    "g": 34,
    "b": 56
  },
  "hsl": {
    "h": 347.429,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42825,
    "c": 0.13971,
    "h": 13.6
  },
  "luminance": 0.06919
}

Semantic roles & 50–950 ramp

primary
#8B2238
secondary
#50B8A3
accent
#E4C244
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8B2238

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

Preview Lab → · Contrast checker → · Palette generator →

#8B2238 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva