#842348#842348

#842348 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.1% C 0.135 H 1.7°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#842348
RGBrgb(132, 35, 72)
HSLhsl(337, 58%, 33%)
HSVhsv(337, 73%, 52%)
CMYKcmyk(0%, 73.5%, 45.5%, 48.2%)
CIE-LABlab(30.82, 43.94, 1.36)
CIE-LCHlch(30.82, 43.96, 1.78°)
OKLaboklab(42.12% 0.1346 0.004)
OKLCHoklch(42.12% 0.135 1.7)
XYZxyz(11.2873, 6.5769, 6.8047)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842348 #23845F
analogous
#842379 #842348 #842E23
triadic
#842348 #488423 #234884
tetradic
#842348 #798423 #23845F #2E2384
square
#842348 #798423 #23845F #2E2384
split-complementary
#842348 #23842E #237984
monochromatic
#230913 #54162E #842348 #B43062 #D15182

Accessibility & contrast

On white

9.07
#842348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#842348 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842348
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842348#FFFFFF#000000##FFFFFF
##8423481.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383D49
Deuteranopia (green-blind)
#524F46
Tritanopia (blue-blind)
#901432
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #842348;
/* rgb */ color: rgb(132, 35, 72);
/* oklch */ color: oklch(42.1% 0.135 1.7);
Tailwind
colors: {
  custom: {
    50: '#ac667a',
    500: '#842348',
    950: '#000000',
  },
}
SCSS
$custom: #842348;
$custom-light: #ac667a;
$custom-dark: #000000;
JSON
{
  "hex": "#842348",
  "rgb": {
    "r": 132,
    "g": 35,
    "b": 72
  },
  "hsl": {
    "h": 337.113,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42122,
    "c": 0.13467,
    "h": 1.7
  },
  "luminance": 0.06575
}

Semantic roles & 50–950 ramp

primary
#842348
secondary
#4EB48E
accent
#E1A646
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #842348

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

Preview Lab → · Contrast checker → · Palette generator →

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