#841742#841742

#841742 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.146 H 3.2°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#841742
RGBrgb(132, 23, 66)
HSLhsl(336, 70%, 30%)
HSVhsv(336, 83%, 52%)
CMYKcmyk(0%, 82.6%, 50%, 48.2%)
CIE-LABlab(29.19, 47.43, 2.99)
CIE-LCHlch(29.19, 47.52, 3.61°)
OKLaboklab(40.86% 0.1455 0.0081)
OKLCHoklch(40.86% 0.146 3.2)
XYZxyz(10.8064, 5.9132, 5.7255)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841742 #178459
analogous
#841779 #841742 #842217
triadic
#841742 #428417 #174284
tetradic
#841742 #798417 #178459 #221784
square
#841742 #798417 #178459 #221784
split-complementary
#841742 #178422 #177984
monochromatic
#1C050E #500E28 #841742 #B8205C #DC3979

Accessibility & contrast

On white

9.62
#841742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#841742 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841742
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841742#FFFFFF#000000##FFFFFF
##8417421.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333743
Deuteranopia (green-blind)
#504C3F
Tritanopia (blue-blind)
#90002A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #841742;
/* rgb */ color: rgb(132, 23, 66);
/* oklch */ color: oklch(40.9% 0.146 3.2);
Tailwind
colors: {
  custom: {
    50: '#ad6176',
    500: '#841742',
    950: '#000000',
  },
}
SCSS
$custom: #841742;
$custom-light: #ad6176;
$custom-dark: #000000;
JSON
{
  "hex": "#841742",
  "rgb": {
    "r": 132,
    "g": 23,
    "b": 66
  },
  "hsl": {
    "h": 336.33,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40861,
    "c": 0.14568,
    "h": 3.2
  },
  "luminance": 0.05912
}

Semantic roles & 50–950 ramp

primary
#841742
secondary
#3FB888
accent
#EDA73B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #841742

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

Preview Lab → · Contrast checker → · Palette generator →

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