#841838#841838

#841838 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.143 H 9.6°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#841838
RGBrgb(132, 24, 56)
HSLhsl(342, 69%, 31%)
HSVhsv(342, 82%, 52%)
CMYKcmyk(0%, 81.8%, 57.6%, 48.2%)
CIE-LABlab(29.02, 46.29, 9.44)
CIE-LCHlch(29.02, 47.25, 11.53°)
OKLaboklab(40.64% 0.1406 0.0239)
OKLCHoklch(40.64% 0.143 9.6)
XYZxyz(10.5572, 5.8459, 4.3131)
Luminance0.0584 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841838 #188464
analogous
#84186E #841838 #842E18
triadic
#841838 #388418 #183884
tetradic
#841838 #6E8418 #188464 #2E1884
square
#841838 #6E8418 #188464 #2E1884
split-complementary
#841838 #18842E #186E84
monochromatic
#1C050C #500F22 #841838 #B8214E #DB3B6B

Accessibility & contrast

On white

9.68
#841838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#841838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841838
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841838#FFFFFF#000000##FFFFFF
##8418381.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363639
Deuteranopia (green-blind)
#524C35
Tritanopia (blue-blind)
#910026
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #841838;
/* rgb */ color: rgb(132, 24, 56);
/* oklch */ color: oklch(40.6% 0.143 9.6);
Tailwind
colors: {
  custom: {
    50: '#ae616e',
    500: '#841838',
    950: '#000000',
  },
}
SCSS
$custom: #841838;
$custom-light: #ae616e;
$custom-dark: #000000;
JSON
{
  "hex": "#841838",
  "rgb": {
    "r": 132,
    "g": 24,
    "b": 56
  },
  "hsl": {
    "h": 342.222,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40645,
    "c": 0.14258,
    "h": 9.6
  },
  "luminance": 0.05844
}

Semantic roles & 50–950 ramp

primary
#841838
secondary
#40B894
accent
#ECB83C
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110607
muted
#807A7A

Preview Lab

Preview with #841838

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

Preview Lab → · Contrast checker → · Palette generator →

#841838 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva