#8A2F42#8A2F42

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

Color values

HEX#8A2F42
RGBrgb(138, 47, 66)
HSLhsl(347, 49%, 36%)
HSVhsv(347, 66%, 54%)
CMYKcmyk(0%, 65.9%, 52.2%, 45.9%)
CIE-LABlab(33.63, 40.23, 9.43)
CIE-LCHlch(33.63, 41.32, 13.19°)
OKLaboklab(44.36% 0.1219 0.0241)
OKLCHoklch(44.36% 0.124 11.2)
XYZxyz(12.4821, 7.8312, 6.0075)
Luminance0.0783 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F42 #2F8A77
analogous
#8A2F70 #8A2F42 #8A4A2F
triadic
#8A2F42 #428A2F #2F428A
tetradic
#8A2F42 #708A2F #2F8A77 #4A2F8A
square
#8A2F42 #708A2F #2F8A77 #4A2F8A
split-complementary
#8A2F42 #2F8A4A #2F708A
monochromatic
#2F1016 #5C1F2C #8A2F42 #B83F58 #CC687D

Accessibility & contrast

On white

8.18
#8A2F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8A2F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2F42
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F42#FFFFFF#000000##FFFFFF
##8A2F421.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444342
Deuteranopia (green-blind)
#5B5640
Tritanopia (blue-blind)
#962036
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2f42;
/* rgb */ color: rgb(138, 47, 66);
/* oklch */ color: oklch(44.4% 0.124 11.2);
Tailwind
colors: {
  custom: {
    50: '#b16d76',
    500: '#8a2f42',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f42;
$custom-light: #b16d76;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f42",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 66
  },
  "hsl": {
    "h": 347.473,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44358,
    "c": 0.1242,
    "h": 11.2
  },
  "luminance": 0.0783
}

Semantic roles & 50–950 ramp

primary
#8A2F42
secondary
#62B3A2
accent
#D9BC4F
background
#FBF6F7
surface
#F6ECED
border
#D0C7C8
text
#110708
muted
#807A7B

Preview Lab

Preview with #8A2F42

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

Preview Lab → · Contrast checker → · Palette generator →

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