#8A2438#8A2438

#8A2438 is a dark, vivid red. Relative luminance 0.070; OKLCH L 42.8% C 0.137 H 14.0°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#8A2438
RGBrgb(138, 36, 56)
HSLhsl(348, 59%, 34%)
HSVhsv(348, 74%, 54%)
CMYKcmyk(0%, 73.9%, 59.4%, 45.9%)
CIE-LABlab(31.70, 44.03, 13.30)
CIE-LCHlch(31.70, 45.99, 16.80°)
OKLaboklab(42.84% 0.1325 0.033)
OKLCHoklch(42.84% 0.137 14)
XYZxyz(11.8271, 6.9522, 4.4597)
Luminance0.0695 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2438 #248A76
analogous
#8A246B #8A2438 #8A4324
triadic
#8A2438 #388A24 #24388A
tetradic
#8A2438 #6B8A24 #248A76 #43248A
square
#8A2438 #6B8A24 #248A76 #43248A
split-complementary
#8A2438 #248A43 #246B8A
monochromatic
#290B11 #591724 #8A2438 #BB314C #D3566E

Accessibility & contrast

On white

8.79
#8A2438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8A2438 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2438
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2438#FFFFFF#000000##FFFFFF
##8A24381.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3D38
Deuteranopia (green-blind)
#595235
Tritanopia (blue-blind)
#97082C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a2438;
/* rgb */ color: rgb(138, 36, 56);
/* oklch */ color: oklch(42.8% 0.137 14.0);
Tailwind
colors: {
  custom: {
    50: '#b2676e',
    500: '#8a2438',
    950: '#000000',
  },
}
SCSS
$custom: #8a2438;
$custom-light: #b2676e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2438",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 56
  },
  "hsl": {
    "h": 348.235,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42844,
    "c": 0.13655,
    "h": 14
  },
  "luminance": 0.06951
}

Semantic roles & 50–950 ramp

primary
#8A2438
secondary
#53B7A3
accent
#E2C346
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A2438

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

Preview Lab → · Contrast checker → · Palette generator →

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