#8A2230#8A2230

#8A2230 is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.5% C 0.138 H 18.1°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#8A2230
RGBrgb(138, 34, 48)
HSLhsl(352, 60%, 34%)
HSVhsv(352, 75%, 54%)
CMYKcmyk(0%, 75.4%, 65.2%, 45.9%)
CIE-LABlab(31.26, 44.22, 17.95)
CIE-LCHlch(31.26, 47.73, 22.09°)
OKLaboklab(42.47% 0.1316 0.0431)
OKLCHoklch(42.47% 0.138 18.1)
XYZxyz(11.5880, 6.7624, 3.4908)
Luminance0.0676 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2230 #228A7C
analogous
#8A2264 #8A2230 #8A4822
triadic
#8A2230 #308A22 #22308A
tetradic
#8A2230 #648A22 #228A7C #48228A
square
#8A2230 #648A22 #228A7C #48228A
split-complementary
#8A2230 #228A48 #22648A
monochromatic
#280A0E #59161F #8A2230 #BB2E41 #D45264

Accessibility & contrast

On white

8.93
#8A2230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8A2230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2230
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2230#FFFFFF#000000##FFFFFF
##8A22301.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3C30
Deuteranopia (green-blind)
#59522D
Tritanopia (blue-blind)
#980028
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a2230;
/* rgb */ color: rgb(138, 34, 48);
/* oklch */ color: oklch(42.5% 0.138 18.1);
Tailwind
colors: {
  custom: {
    50: '#b36668',
    500: '#8a2230',
    950: '#000000',
  },
}
SCSS
$custom: #8a2230;
$custom-light: #b36668;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2230",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 48
  },
  "hsl": {
    "h": 351.923,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42465,
    "c": 0.13847,
    "h": 18.1
  },
  "luminance": 0.06761
}

Semantic roles & 50–950 ramp

primary
#8A2230
secondary
#50B8AA
accent
#E4CE44
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A2230

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

Preview Lab → · Contrast checker → · Palette generator →

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