#941B7B#941B7B

#941B7B is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.4% C 0.183 H 338.4°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#941B7B
RGBrgb(148, 27, 123)
HSLhsl(312, 69%, 34%)
HSVhsv(312, 82%, 58%)
CMYKcmyk(0%, 81.8%, 16.9%, 42%)
CIE-LABlab(35.03, 57.17, -24.81)
CIE-LCHlch(35.03, 62.32, 336.54°)
OKLaboklab(46.42% 0.1697 -0.0674)
OKLCHoklch(46.42% 0.183 338.4)
XYZxyz(16.1802, 8.5114, 19.5258)
Luminance0.0851 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941B7B #1B9434
analogous
#711B94 #941B7B #941B3E
triadic
#941B7B #7B941B #1B7B94
tetradic
#941B7B #94711B #1B9434 #1B3E94
square
#941B7B #94711B #1B9434 #1B3E94
split-complementary
#941B7B #3E941B #1B9471
monochromatic
#2C0825 #601250 #941B7B #C824A6 #DE4BC0

Accessibility & contrast

On white

7.77
#941B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#941B7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941B7B
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941B7B#FFFFFF#000000##FFFFFF
##941B7B1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22477D
Deuteranopia (green-blind)
#4C5978
Tritanopia (blue-blind)
#9D224A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #941b7b;
/* rgb */ color: rgb(148, 27, 123);
/* oklch */ color: oklch(46.4% 0.183 338.4);
Tailwind
colors: {
  custom: {
    50: '#b767a1',
    500: '#941b7b',
    950: '#000000',
  },
}
SCSS
$custom: #941b7b;
$custom-light: #b767a1;
$custom-dark: #000000;
JSON
{
  "hex": "#941b7b",
  "rgb": {
    "r": 148,
    "g": 27,
    "b": 123
  },
  "hsl": {
    "h": 312.397,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46421,
    "c": 0.18262,
    "h": 338.4
  },
  "luminance": 0.0851
}

Semantic roles & 50–950 ramp

primary
#941B7B
secondary
#4BC063
accent
#EC603C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #941B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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