#941D7F#941D7F

#941D7F is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.8% C 0.184 H 336.6°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#941D7F
RGBrgb(148, 29, 127)
HSLhsl(311, 67%, 35%)
HSVhsv(311, 80%, 58%)
CMYKcmyk(0%, 80.4%, 14.2%, 42%)
CIE-LABlab(35.42, 57.20, -26.70)
CIE-LCHlch(35.42, 63.13, 334.98°)
OKLaboklab(46.77% 0.1685 -0.0728)
OKLCHoklch(46.77% 0.184 336.6)
XYZxyz(16.4832, 8.7085, 20.8874)
Luminance0.0871 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941D7F #1D9432
analogous
#6E1D94 #941D7F #941D44
triadic
#941D7F #7F941D #1D7F94
tetradic
#941D7F #946E1D #1D9432 #1D4494
square
#941D7F #946E1D #1D9432 #1D4494
split-complementary
#941D7F #44941D #1D946E
monochromatic
#2E0927 #611353 #941D7F #C727AB #DC4FC4

Accessibility & contrast

On white

7.66
#941D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#941D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941D7F
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941D7F#FFFFFF#000000##FFFFFF
##941D7F1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204882
Deuteranopia (green-blind)
#4B5A7C
Tritanopia (blue-blind)
#9C264D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #941d7f;
/* rgb */ color: rgb(148, 29, 127);
/* oklch */ color: oklch(46.8% 0.184 336.6);
Tailwind
colors: {
  custom: {
    50: '#b768a4',
    500: '#941d7f',
    950: '#000000',
  },
}
SCSS
$custom: #941d7f;
$custom-light: #b768a4;
$custom-dark: #000000;
JSON
{
  "hex": "#941d7f",
  "rgb": {
    "r": 148,
    "g": 29,
    "b": 127
  },
  "hsl": {
    "h": 310.588,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46767,
    "c": 0.18351,
    "h": 336.6
  },
  "luminance": 0.08707
}

Semantic roles & 50–950 ramp

primary
#941D7F
secondary
#4EBF62
accent
#EA5C3E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #941D7F

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

Preview Lab → · Contrast checker → · Palette generator →

#941D7F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva