#872034#872034

#872034 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.8% C 0.137 H 14.7°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#872034
RGBrgb(135, 32, 52)
HSLhsl(348, 62%, 33%)
HSVhsv(348, 76%, 53%)
CMYKcmyk(0%, 76.3%, 61.5%, 47.1%)
CIE-LABlab(30.48, 44.26, 14.19)
CIE-LCHlch(30.48, 46.48, 17.77°)
OKLaboklab(41.8% 0.1329 0.0349)
OKLCHoklch(41.8% 0.137 14.7)
XYZxyz(11.1291, 6.4335, 3.9039)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872034 #208773
analogous
#872067 #872034 #874020
triadic
#872034 #348720 #203487
tetradic
#872034 #678720 #208773 #402087
square
#872034 #678720 #208773 #402087
split-complementary
#872034 #208740 #206787
monochromatic
#24090E #561421 #872034 #B82C47 #D54D67

Accessibility & contrast

On white

9.18
#872034 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#872034 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872034
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872034#FFFFFF#000000##FFFFFF
##8720341.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3A34
Deuteranopia (green-blind)
#565031
Tritanopia (blue-blind)
#940028
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #872034;
/* rgb */ color: rgb(135, 32, 52);
/* oklch */ color: oklch(41.8% 0.137 14.7);
Tailwind
colors: {
  custom: {
    50: '#b0656b',
    500: '#872034',
    950: '#000000',
  },
}
SCSS
$custom: #872034;
$custom-light: #b0656b;
$custom-dark: #000000;
JSON
{
  "hex": "#872034",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 52
  },
  "hsl": {
    "h": 348.35,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41804,
    "c": 0.13742,
    "h": 14.7
  },
  "luminance": 0.06432
}

Semantic roles & 50–950 ramp

primary
#872034
secondary
#4BB8A3
accent
#E5C543
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #872034

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

Preview Lab → · Contrast checker → · Palette generator →

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