#942040#942040

#942040 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.5% C 0.151 H 10.2°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#942040
RGBrgb(148, 32, 64)
HSLhsl(343, 64%, 35%)
HSVhsv(343, 78%, 58%)
CMYKcmyk(0%, 78.4%, 56.8%, 42%)
CIE-LABlab(33.35, 49.15, 10.64)
CIE-LCHlch(33.35, 50.29, 12.21°)
OKLaboklab(44.49% 0.1491 0.0268)
OKLCHoklch(44.49% 0.151 10.2)
XYZxyz(13.6560, 7.7011, 5.6169)
Luminance0.0770 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942040 #209474
analogous
#94207A #942040 #943A20
triadic
#942040 #409420 #204094
tetradic
#942040 #7A9420 #209474 #3A2094
square
#942040 #7A9420 #209474 #3A2094
split-complementary
#942040 #20943A #207A94
monochromatic
#2F0A14 #62152A #942040 #C62B56 #DA5479

Accessibility & contrast

On white

8.27
#942040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#942040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942040
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942040#FFFFFF#000000##FFFFFF
##9420401.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3F41
Deuteranopia (green-blind)
#5D573D
Tritanopia (blue-blind)
#A2002E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #942040;
/* rgb */ color: rgb(148, 32, 64);
/* oklch */ color: oklch(44.5% 0.151 10.2);
Tailwind
colors: {
  custom: {
    50: '#ba6774',
    500: '#942040',
    950: '#000000',
  },
}
SCSS
$custom: #942040;
$custom-light: #ba6774;
$custom-dark: #000000;
JSON
{
  "hex": "#942040",
  "rgb": {
    "r": 148,
    "g": 32,
    "b": 64
  },
  "hsl": {
    "h": 343.448,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44488,
    "c": 0.15147,
    "h": 10.2
  },
  "luminance": 0.07699
}

Semantic roles & 50–950 ramp

primary
#942040
secondary
#52BEA0
accent
#E7B940
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #942040

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

Preview Lab → · Contrast checker → · Palette generator →

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