#842148#842148

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

Color values

HEX#842148
RGBrgb(132, 33, 72)
HSLhsl(336, 60%, 32%)
HSVhsv(336, 75%, 52%)
CMYKcmyk(0%, 75%, 45.5%, 48.2%)
CIE-LABlab(30.55, 44.70, 0.97)
CIE-LCHlch(30.55, 44.71, 1.24°)
OKLaboklab(41.92% 0.137 0.003)
OKLCHoklch(41.92% 0.137 1.3)
XYZxyz(11.2301, 6.4626, 6.7857)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842148 #21845D
analogous
#842179 #842148 #842C21
triadic
#842148 #488421 #214884
tetradic
#842148 #798421 #21845D #2C2184
square
#842148 #798421 #21845D #2C2184
split-complementary
#842148 #21842C #217984
monochromatic
#220913 #53152D #842148 #B52D63 #D24D82

Accessibility & contrast

On white

9.16
#842148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #842148
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842148#FFFFFF#000000##FFFFFF
##8421481.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373C49
Deuteranopia (green-blind)
#514F46
Tritanopia (blue-blind)
#901131
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #842148;
/* rgb */ color: rgb(132, 33, 72);
/* oklch */ color: oklch(41.9% 0.137 1.3);
Tailwind
colors: {
  custom: {
    50: '#ac657a',
    500: '#842148',
    950: '#000000',
  },
}
SCSS
$custom: #842148;
$custom-light: #ac657a;
$custom-dark: #000000;
JSON
{
  "hex": "#842148",
  "rgb": {
    "r": 132,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 336.364,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4192,
    "c": 0.13707,
    "h": 1.3
  },
  "luminance": 0.06461
}

Semantic roles & 50–950 ramp

primary
#842148
secondary
#4BB68C
accent
#E3A545
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #842148

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

Preview Lab → · Contrast checker → · Palette generator →

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