#8D1233#8D1233

#8D1233 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.8% C 0.155 H 13.4°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#8D1233
RGBrgb(141, 18, 51)
HSLhsl(344, 77%, 31%)
HSVhsv(344, 87%, 55%)
CMYKcmyk(0%, 87.2%, 63.8%, 44.7%)
CIE-LABlab(30.25, 50.10, 14.76)
CIE-LCHlch(30.25, 52.22, 16.42°)
OKLaboklab(41.84% 0.1507 0.036)
OKLCHoklch(41.84% 0.155 13.4)
XYZxyz(11.7996, 6.3362, 3.7330)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1233 #128D6C
analogous
#8D1270 #8D1233 #8D2E12
triadic
#8D1233 #338D12 #12338D
tetradic
#8D1233 #708D12 #128D6C #2E128D
square
#8D1233 #708D12 #128D6C #2E128D
split-complementary
#8D1233 #128D2E #12708D
monochromatic
#20040C #570B1F #8D1233 #C31947 #E53464

Accessibility & contrast

On white

9.26
#8D1233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#8D1233 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1233
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1233#FFFFFF#000000##FFFFFF
##8D12331.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383733
Deuteranopia (green-blind)
#575030
Tritanopia (blue-blind)
#9B0021
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8d1233;
/* rgb */ color: rgb(141, 18, 51);
/* oklch */ color: oklch(41.8% 0.155 13.4);
Tailwind
colors: {
  custom: {
    50: '#b5616a',
    500: '#8d1233',
    950: '#000000',
  },
}
SCSS
$custom: #8d1233;
$custom-light: #b5616a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1233",
  "rgb": {
    "r": 141,
    "g": 18,
    "b": 51
  },
  "hsl": {
    "h": 343.902,
    "s": 77.358,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41844,
    "c": 0.15493,
    "h": 13.4
  },
  "luminance": 0.06334
}

Semantic roles & 50–950 ramp

primary
#8D1233
secondary
#39C19D
accent
#F4C034
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8D1233

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

Preview Lab → · Contrast checker → · Palette generator →

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