#8A2338#8A2338

#8A2338 is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.7% C 0.138 H 13.7°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#8A2338
RGBrgb(138, 35, 56)
HSLhsl(348, 60%, 34%)
HSVhsv(348, 75%, 54%)
CMYKcmyk(0%, 74.6%, 59.4%, 45.9%)
CIE-LABlab(31.56, 44.41, 13.11)
CIE-LCHlch(31.56, 46.30, 16.45°)
OKLaboklab(42.74% 0.1337 0.0325)
OKLCHoklch(42.74% 0.138 13.7)
XYZxyz(11.7972, 6.8925, 4.4498)
Luminance0.0689 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2338 #238A75
analogous
#8A236C #8A2338 #8A4223
triadic
#8A2338 #388A23 #23388A
tetradic
#8A2338 #6C8A23 #238A75 #42238A
square
#8A2338 #6C8A23 #238A75 #42238A
split-complementary
#8A2338 #238A42 #236C8A
monochromatic
#280A10 #591724 #8A2338 #BB2F4C #D4546E

Accessibility & contrast

On white

8.83
#8A2338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#8A2338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2338
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2338#FFFFFF#000000##FFFFFF
##8A23381.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3D38
Deuteranopia (green-blind)
#595235
Tritanopia (blue-blind)
#97052C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a2338;
/* rgb */ color: rgb(138, 35, 56);
/* oklch */ color: oklch(42.7% 0.138 13.7);
Tailwind
colors: {
  custom: {
    50: '#b2676e',
    500: '#8a2338',
    950: '#000000',
  },
}
SCSS
$custom: #8a2338;
$custom-light: #b2676e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2338",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 56
  },
  "hsl": {
    "h": 347.767,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42742,
    "c": 0.13762,
    "h": 13.7
  },
  "luminance": 0.06891
}

Semantic roles & 50–950 ramp

primary
#8A2338
secondary
#51B7A3
accent
#E3C345
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A2338

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

Preview Lab → · Contrast checker → · Palette generator →

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