#942378#942378

#942378 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.9% C 0.173 H 340.0°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#942378
RGBrgb(148, 35, 120)
HSLhsl(315, 62%, 36%)
HSVhsv(315, 76%, 58%)
CMYKcmyk(0%, 76.4%, 18.9%, 42%)
CIE-LABlab(35.70, 54.38, -21.87)
CIE-LCHlch(35.70, 58.61, 338.09°)
OKLaboklab(46.86% 0.1622 -0.0591)
OKLCHoklch(46.86% 0.173 340)
XYZxyz(16.2044, 8.8556, 18.6216)
Luminance0.0885 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942378 #23943F
analogous
#772394 #942378 #94233F
triadic
#942378 #789423 #237894
tetradic
#942378 #947723 #23943F #233F94
square
#942378 #947723 #23943F #233F94
split-complementary
#942378 #3F9423 #239477
monochromatic
#310C28 #631750 #942378 #C52FA0 #D85AB9

Accessibility & contrast

On white

7.58
#942378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#942378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942378
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942378#FFFFFF#000000##FFFFFF
##9423781.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B497A
Deuteranopia (green-blind)
#505A75
Tritanopia (blue-blind)
#9D274B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #942378;
/* rgb */ color: rgb(148, 35, 120);
/* oklch */ color: oklch(46.9% 0.173 340.0);
Tailwind
colors: {
  custom: {
    50: '#b76a9f',
    500: '#942378',
    950: '#000000',
  },
}
SCSS
$custom: #942378;
$custom-light: #b76a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#942378",
  "rgb": {
    "r": 148,
    "g": 35,
    "b": 120
  },
  "hsl": {
    "h": 314.867,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46862,
    "c": 0.17265,
    "h": 340
  },
  "luminance": 0.08854
}

Semantic roles & 50–950 ramp

primary
#942378
secondary
#57BC70
accent
#E56B43
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #942378

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

Preview Lab → · Contrast checker → · Palette generator →

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