#942178#942178

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

Color values

HEX#942178
RGBrgb(148, 33, 120)
HSLhsl(315, 64%, 35%)
HSVhsv(315, 78%, 58%)
CMYKcmyk(0%, 77.7%, 18.9%, 42%)
CIE-LABlab(35.48, 55.02, -22.22)
CIE-LCHlch(35.48, 59.33, 338.01°)
OKLaboklab(46.7% 0.1642 -0.06)
OKLCHoklch(46.7% 0.175 339.9)
XYZxyz(16.1472, 8.7413, 18.6025)
Luminance0.0874 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942178 #21943D
analogous
#762194 #942178 #94213E
triadic
#942178 #789421 #217894
tetradic
#942178 #947621 #21943D #213E94
square
#942178 #947621 #21943D #213E94
split-complementary
#942178 #3E9421 #219476
monochromatic
#300B27 #62164F #942178 #C62CA1 #D956B9

Accessibility & contrast

On white

7.64
#942178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#942178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942178
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942178#FFFFFF#000000##FFFFFF
##9421781.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #942178;
/* rgb */ color: rgb(148, 33, 120);
/* oklch */ color: oklch(46.7% 0.175 339.9);
Tailwind
colors: {
  custom: {
    50: '#b7699f',
    500: '#942178',
    950: '#000000',
  },
}
SCSS
$custom: #942178;
$custom-light: #b7699f;
$custom-dark: #000000;
JSON
{
  "hex": "#942178",
  "rgb": {
    "r": 148,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 314.609,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46701,
    "c": 0.1748,
    "h": 339.9
  },
  "luminance": 0.0874
}

Semantic roles & 50–950 ramp

primary
#942178
secondary
#54BD6D
accent
#E76941
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #942178

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

Preview Lab → · Contrast checker → · Palette generator →

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