#942340#942340

#942340 is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.8% C 0.148 H 10.9°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#942340
RGBrgb(148, 35, 64)
HSLhsl(345, 62%, 36%)
HSVhsv(345, 76%, 58%)
CMYKcmyk(0%, 76.4%, 56.8%, 42%)
CIE-LABlab(33.71, 48.15, 11.13)
CIE-LCHlch(33.71, 49.42, 13.02°)
OKLaboklab(44.75% 0.1458 0.028)
OKLCHoklch(44.75% 0.149 10.9)
XYZxyz(13.7405, 7.8701, 5.6450)
Luminance0.0787 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942340 #239477
analogous
#942378 #942340 #943E23
triadic
#942340 #409423 #234094
tetradic
#942340 #789423 #239477 #3E2394
square
#942340 #789423 #239477 #3E2394
split-complementary
#942340 #23943E #237894
monochromatic
#310C15 #63172B #942340 #C52F55 #D85A7A

Accessibility & contrast

On white

8.16
#942340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#942340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942340
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942340#FFFFFF#000000##FFFFFF
##9423401.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414140
Deuteranopia (green-blind)
#5E583D
Tritanopia (blue-blind)
#A2002F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #942340;
/* rgb */ color: rgb(148, 35, 64);
/* oklch */ color: oklch(44.8% 0.148 10.9);
Tailwind
colors: {
  custom: {
    50: '#b96874',
    500: '#942340',
    950: '#000000',
  },
}
SCSS
$custom: #942340;
$custom-light: #b96874;
$custom-dark: #000000;
JSON
{
  "hex": "#942340",
  "rgb": {
    "r": 148,
    "g": 35,
    "b": 64
  },
  "hsl": {
    "h": 344.602,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44753,
    "c": 0.1485,
    "h": 10.9
  },
  "luminance": 0.07868
}

Semantic roles & 50–950 ramp

primary
#942340
secondary
#57BCA2
accent
#E5BB43
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #942340

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

Preview Lab → · Contrast checker → · Palette generator →

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