#941B7E#941B7E

#941B7E is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.6% C 0.185 H 337.0°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#941B7E
RGBrgb(148, 27, 126)
HSLhsl(311, 69%, 34%)
HSVhsv(311, 82%, 58%)
CMYKcmyk(0%, 81.8%, 14.9%, 42%)
CIE-LABlab(35.18, 57.60, -26.45)
CIE-LCHlch(35.18, 63.38, 335.34°)
OKLaboklab(46.58% 0.17 -0.0721)
OKLCHoklch(46.58% 0.185 337)
XYZxyz(16.3709, 8.5877, 20.5300)
Luminance0.0859 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941B7E #1B9431
analogous
#6E1B94 #941B7E #941B42
triadic
#941B7E #7E941B #1B7E94
tetradic
#941B7E #946E1B #1B9431 #1B4294
square
#941B7E #946E1B #1B9431 #1B4294
split-complementary
#941B7E #42941B #1B946E
monochromatic
#2C0826 #601252 #941B7E #C824AA #DE4BC3

Accessibility & contrast

On white

7.73
#941B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#941B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941B7E
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941B7E#FFFFFF#000000##FFFFFF
##941B7E1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4781
Deuteranopia (green-blind)
#4B597B
Tritanopia (blue-blind)
#9C244C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #941b7e;
/* rgb */ color: rgb(148, 27, 126);
/* oklch */ color: oklch(46.6% 0.185 337.0);
Tailwind
colors: {
  custom: {
    50: '#b768a3',
    500: '#941b7e',
    950: '#000000',
  },
}
SCSS
$custom: #941b7e;
$custom-light: #b768a3;
$custom-dark: #000000;
JSON
{
  "hex": "#941b7e",
  "rgb": {
    "r": 148,
    "g": 27,
    "b": 126
  },
  "hsl": {
    "h": 310.909,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46579,
    "c": 0.18464,
    "h": 337
  },
  "luminance": 0.08586
}

Semantic roles & 50–950 ramp

primary
#941B7E
secondary
#4BC060
accent
#EC5C3C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #941B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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