#842243#842243

#842243 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 41.9% C 0.134 H 4.8°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#842243
RGBrgb(132, 34, 67)
HSLhsl(340, 59%, 33%)
HSVhsv(340, 74%, 52%)
CMYKcmyk(0%, 74.2%, 49.2%, 48.2%)
CIE-LABlab(30.54, 43.83, 4.25)
CIE-LCHlch(30.54, 44.03, 5.54°)
OKLaboklab(41.86% 0.134 0.0113)
OKLCHoklch(41.86% 0.134 4.8)
XYZxyz(11.1018, 6.4563, 5.9707)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842243 #228463
analogous
#842274 #842243 #843222
triadic
#842243 #438422 #224384
tetradic
#842243 #748422 #228463 #322284
square
#842243 #748422 #228463 #322284
split-complementary
#842243 #228432 #227484
monochromatic
#230912 #53152A #842243 #B52F5C #D24F7B

Accessibility & contrast

On white

9.17
#842243 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#842243 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842243
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842243#FFFFFF#000000##FFFFFF
##8422431.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393C44
Deuteranopia (green-blind)
#534F41
Tritanopia (blue-blind)
#901030
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #842243;
/* rgb */ color: rgb(132, 34, 67);
/* oklch */ color: oklch(41.9% 0.134 4.8);
Tailwind
colors: {
  custom: {
    50: '#ad6676',
    500: '#842243',
    950: '#000000',
  },
}
SCSS
$custom: #842243;
$custom-light: #ad6676;
$custom-dark: #000000;
JSON
{
  "hex": "#842243",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 67
  },
  "hsl": {
    "h": 339.796,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4186,
    "c": 0.13443,
    "h": 4.8
  },
  "luminance": 0.06455
}

Semantic roles & 50–950 ramp

primary
#842243
secondary
#4DB592
accent
#E2AD46
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #842243

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

Preview Lab → · Contrast checker → · Palette generator →

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