#942140#942140

#942140 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.6% C 0.150 H 10.4°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#942140
RGBrgb(148, 33, 64)
HSLhsl(344, 64%, 35%)
HSVhsv(344, 78%, 58%)
CMYKcmyk(0%, 77.7%, 56.8%, 42%)
CIE-LABlab(33.47, 48.82, 10.80)
CIE-LCHlch(33.47, 50.00, 12.47°)
OKLaboklab(44.57% 0.148 0.0272)
OKLCHoklch(44.57% 0.15 10.4)
XYZxyz(13.6833, 7.7557, 5.6260)
Luminance0.0775 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942140 #219475
analogous
#942179 #942140 #943B21
triadic
#942140 #409421 #214094
tetradic
#942140 #799421 #219475 #3B2194
square
#942140 #799421 #219475 #3B2194
split-complementary
#942140 #21943B #217994
monochromatic
#300B15 #62162A #942140 #C62C56 #D95679

Accessibility & contrast

On white

8.23
#942140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#942140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942140
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942140#FFFFFF#000000##FFFFFF
##9421401.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404040
Deuteranopia (green-blind)
#5D573D
Tritanopia (blue-blind)
#A2002E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #942140;
/* rgb */ color: rgb(148, 33, 64);
/* oklch */ color: oklch(44.6% 0.150 10.4);
Tailwind
colors: {
  custom: {
    50: '#ba6774',
    500: '#942140',
    950: '#000000',
  },
}
SCSS
$custom: #942140;
$custom-light: #ba6774;
$custom-dark: #000000;
JSON
{
  "hex": "#942140",
  "rgb": {
    "r": 148,
    "g": 33,
    "b": 64
  },
  "hsl": {
    "h": 343.826,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44574,
    "c": 0.15049,
    "h": 10.4
  },
  "luminance": 0.07754
}

Semantic roles & 50–950 ramp

primary
#942140
secondary
#54BDA1
accent
#E7BA41
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #942140

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

Preview Lab → · Contrast checker → · Palette generator →

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