#8A2038#8A2038

#8A2038 is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.5% C 0.141 H 12.8°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#8A2038
RGBrgb(138, 32, 56)
HSLhsl(346, 62%, 33%)
HSVhsv(346, 77%, 54%)
CMYKcmyk(0%, 76.8%, 59.4%, 45.9%)
CIE-LABlab(31.17, 45.50, 12.58)
CIE-LCHlch(31.17, 47.21, 15.46°)
OKLaboklab(42.45% 0.1372 0.0313)
OKLCHoklch(42.45% 0.141 12.8)
XYZxyz(11.7127, 6.7235, 4.4216)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2038 #208A72
analogous
#8A206D #8A2038 #8A3D20
triadic
#8A2038 #388A20 #20388A
tetradic
#8A2038 #6D8A20 #208A72 #3D208A
square
#8A2038 #6D8A20 #208A72 #3D208A
split-complementary
#8A2038 #208A3D #206D8A
monochromatic
#270910 #581424 #8A2038 #BC2C4C #D64E6D

Accessibility & contrast

On white

8.96
#8A2038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8A2038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2038
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2038#FFFFFF#000000##FFFFFF
##8A20381.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3B38
Deuteranopia (green-blind)
#585135
Tritanopia (blue-blind)
#97002A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a2038;
/* rgb */ color: rgb(138, 32, 56);
/* oklch */ color: oklch(42.5% 0.141 12.8);
Tailwind
colors: {
  custom: {
    50: '#b2656e',
    500: '#8a2038',
    950: '#000000',
  },
}
SCSS
$custom: #8a2038;
$custom-light: #b2656e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2038",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 56
  },
  "hsl": {
    "h": 346.415,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42452,
    "c": 0.14076,
    "h": 12.8
  },
  "luminance": 0.06722
}

Semantic roles & 50–950 ramp

primary
#8A2038
secondary
#4DB9A1
accent
#E5C142
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A2038

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

Preview Lab → · Contrast checker → · Palette generator →

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