#8A2F40#8A2F40

#8A2F40 is a dark, vivid red. Relative luminance 0.078; OKLCH L 44.3% C 0.124 H 12.6°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#8A2F40
RGBrgb(138, 47, 64)
HSLhsl(349, 49%, 36%)
HSVhsv(349, 66%, 54%)
CMYKcmyk(0%, 65.9%, 53.6%, 45.9%)
CIE-LABlab(33.58, 40.05, 10.66)
CIE-LCHlch(33.58, 41.44, 14.90°)
OKLaboklab(44.31% 0.121 0.027)
OKLCHoklch(44.31% 0.124 12.6)
XYZxyz(12.4242, 7.8081, 5.7023)
Luminance0.0781 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F40 #2F8A79
analogous
#8A2F6E #8A2F40 #8A4C2F
triadic
#8A2F40 #408A2F #2F408A
tetradic
#8A2F40 #6E8A2F #2F8A79 #4C2F8A
square
#8A2F40 #6E8A2F #2F8A79 #4C2F8A
split-complementary
#8A2F40 #2F8A4C #2F6E8A
monochromatic
#2F1016 #5C1F2B #8A2F40 #B83F55 #CC687A

Accessibility & contrast

On white

8.20
#8A2F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8A2F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2F40
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F40#FFFFFF#000000##FFFFFF
##8A2F401.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444340
Deuteranopia (green-blind)
#5C563E
Tritanopia (blue-blind)
#972036
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2f40;
/* rgb */ color: rgb(138, 47, 64);
/* oklch */ color: oklch(44.3% 0.124 12.6);
Tailwind
colors: {
  custom: {
    50: '#b16d74',
    500: '#8a2f40',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f40;
$custom-light: #b16d74;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f40",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 64
  },
  "hsl": {
    "h": 348.791,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44306,
    "c": 0.12399,
    "h": 12.6
  },
  "luminance": 0.07806
}

Semantic roles & 50–950 ramp

primary
#8A2F40
secondary
#62B3A4
accent
#D9BF4F
background
#FBF6F7
surface
#F6ECED
border
#D0C7C8
text
#110708
muted
#807A7B

Preview Lab

Preview with #8A2F40

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

Preview Lab → · Contrast checker → · Palette generator →

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