#842845#842845

#842845 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.6% C 0.127 H 5.1°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#842845
RGBrgb(132, 40, 69)
HSLhsl(341, 53%, 34%)
HSVhsv(341, 70%, 52%)
CMYKcmyk(0%, 69.7%, 47.7%, 48.2%)
CIE-LABlab(31.47, 41.59, 4.27)
CIE-LCHlch(31.47, 41.81, 5.86°)
OKLaboklab(42.57% 0.127 0.0114)
OKLCHoklch(42.57% 0.127 5.1)
XYZxyz(11.3496, 6.8542, 6.3544)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842845 #288467
analogous
#842873 #842845 #843928
triadic
#842845 #458428 #284584
tetradic
#842845 #738428 #288467 #392884
square
#842845 #738428 #288467 #392884
split-complementary
#842845 #288439 #287384
monochromatic
#260C14 #551A2C #842845 #B3365E #CD5A7E

Accessibility & contrast

On white

8.86
#842845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#842845 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842845
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842845#FFFFFF#000000##FFFFFF
##8428451.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3F46
Deuteranopia (green-blind)
#545143
Tritanopia (blue-blind)
#901A34
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #842845;
/* rgb */ color: rgb(132, 40, 69);
/* oklch */ color: oklch(42.6% 0.127 5.1);
Tailwind
colors: {
  custom: {
    50: '#ac6978',
    500: '#842845',
    950: '#000000',
  },
}
SCSS
$custom: #842845;
$custom-light: #ac6978;
$custom-dark: #000000;
JSON
{
  "hex": "#842845",
  "rgb": {
    "r": 132,
    "g": 40,
    "b": 69
  },
  "hsl": {
    "h": 341.087,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42573,
    "c": 0.12747,
    "h": 5.1
  },
  "luminance": 0.06853
}

Semantic roles & 50–950 ramp

primary
#842845
secondary
#56B295
accent
#DDAF4B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110709
muted
#807A7B

Preview Lab

Preview with #842845

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

Preview Lab → · Contrast checker → · Palette generator →

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