#942240#942240

#942240 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.7% C 0.149 H 10.6°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#942240
RGBrgb(148, 34, 64)
HSLhsl(344, 63%, 36%)
HSVhsv(344, 77%, 58%)
CMYKcmyk(0%, 77%, 56.8%, 42%)
CIE-LABlab(33.59, 48.49, 10.96)
CIE-LCHlch(33.59, 49.71, 12.74°)
OKLaboklab(44.66% 0.1469 0.0276)
OKLCHoklch(44.66% 0.15 10.6)
XYZxyz(13.7115, 7.8121, 5.6354)
Luminance0.0781 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942240 #229476
analogous
#942279 #942240 #943D22
triadic
#942240 #409422 #224094
tetradic
#942240 #799422 #229476 #3D2294
square
#942240 #799422 #229476 #3D2294
split-complementary
#942240 #22943D #227994
monochromatic
#300B15 #62172A #942240 #C62D56 #D9587A

Accessibility & contrast

On white

8.20
#942240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#942240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942240
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942240#FFFFFF#000000##FFFFFF
##9422401.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #942240;
/* rgb */ color: rgb(148, 34, 64);
/* oklch */ color: oklch(44.7% 0.149 10.6);
Tailwind
colors: {
  custom: {
    50: '#b96874',
    500: '#942240',
    950: '#000000',
  },
}
SCSS
$custom: #942240;
$custom-light: #b96874;
$custom-dark: #000000;
JSON
{
  "hex": "#942240",
  "rgb": {
    "r": 148,
    "g": 34,
    "b": 64
  },
  "hsl": {
    "h": 344.211,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44662,
    "c": 0.1495,
    "h": 10.6
  },
  "luminance": 0.0781
}

Semantic roles & 50–950 ramp

primary
#942240
secondary
#55BDA1
accent
#E6BB42
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #942240

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

Preview Lab → · Contrast checker → · Palette generator →

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