#941878#941878

#941878 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 46.1% C 0.183 H 339.6°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#941878
RGBrgb(148, 24, 120)
HSLhsl(314, 72%, 34%)
HSVhsv(314, 84%, 58%)
CMYKcmyk(0%, 83.8%, 18.9%, 42%)
CIE-LABlab(34.61, 57.51, -23.57)
CIE-LCHlch(34.61, 62.15, 337.72°)
OKLaboklab(46.08% 0.1717 -0.0638)
OKLCHoklch(46.08% 0.183 339.6)
XYZxyz(15.9300, 8.3069, 18.5301)
Luminance0.0830 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941878 #189434
analogous
#721894 #941878 #94183A
triadic
#941878 #789418 #187894
tetradic
#941878 #947218 #189434 #183A94
square
#941878 #947218 #189434 #183A94
split-complementary
#941878 #3A9418 #189472
monochromatic
#2B0723 #5F0F4D #941878 #C921A3 #E145BE

Accessibility & contrast

On white

7.89
#941878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#941878 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941878
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941878#FFFFFF#000000##FFFFFF
##9418781.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22457A
Deuteranopia (green-blind)
#4D5875
Tritanopia (blue-blind)
#9D1E48
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #941878;
/* rgb */ color: rgb(148, 24, 120);
/* oklch */ color: oklch(46.1% 0.183 339.6);
Tailwind
colors: {
  custom: {
    50: '#b7669f',
    500: '#941878',
    950: '#000000',
  },
}
SCSS
$custom: #941878;
$custom-light: #b7669f;
$custom-dark: #000000;
JSON
{
  "hex": "#941878",
  "rgb": {
    "r": 148,
    "g": 24,
    "b": 120
  },
  "hsl": {
    "h": 313.548,
    "s": 72.093,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46076,
    "c": 0.18321,
    "h": 339.6
  },
  "luminance": 0.08305
}

Semantic roles & 50–950 ramp

primary
#941878
secondary
#46C262
accent
#EF6239
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #941878

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

Preview Lab → · Contrast checker → · Palette generator →

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