#942078#942078

#942078 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.6% C 0.176 H 339.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#942078
RGBrgb(148, 32, 120)
HSLhsl(314, 64%, 35%)
HSVhsv(314, 78%, 58%)
CMYKcmyk(0%, 78.4%, 18.9%, 42%)
CIE-LABlab(35.37, 55.33, -22.38)
CIE-LCHlch(35.37, 59.68, 337.97°)
OKLaboklab(46.62% 0.1651 -0.0605)
OKLCHoklch(46.62% 0.176 339.9)
XYZxyz(16.1199, 8.6866, 18.5934)
Luminance0.0868 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942078 #20943C
analogous
#762094 #942078 #94203E
triadic
#942078 #789420 #207894
tetradic
#942078 #947620 #20943C #203E94
square
#942078 #947620 #20943C #203E94
split-complementary
#942078 #3E9420 #209476
monochromatic
#2F0A26 #62154F #942078 #C62BA1 #DA54BA

Accessibility & contrast

On white

7.67
#942078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#942078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942078
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942078#FFFFFF#000000##FFFFFF
##9420781.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29477A
Deuteranopia (green-blind)
#4F5A75
Tritanopia (blue-blind)
#9D244A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #942078;
/* rgb */ color: rgb(148, 32, 120);
/* oklch */ color: oklch(46.6% 0.176 339.9);
Tailwind
colors: {
  custom: {
    50: '#b7699f',
    500: '#942078',
    950: '#000000',
  },
}
SCSS
$custom: #942078;
$custom-light: #b7699f;
$custom-dark: #000000;
JSON
{
  "hex": "#942078",
  "rgb": {
    "r": 148,
    "g": 32,
    "b": 120
  },
  "hsl": {
    "h": 314.483,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46623,
    "c": 0.17584,
    "h": 339.9
  },
  "luminance": 0.08685
}

Semantic roles & 50–950 ramp

primary
#942078
secondary
#52BE6C
accent
#E76940
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #942078

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

Preview Lab → · Contrast checker → · Palette generator →

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