#941B7F#941B7F

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

Color values

HEX#941B7F
RGBrgb(148, 27, 127)
HSLhsl(310, 69%, 34%)
HSVhsv(310, 82%, 58%)
CMYKcmyk(0%, 81.8%, 14.2%, 42%)
CIE-LABlab(35.23, 57.74, -26.99)
CIE-LCHlch(35.23, 63.74, 334.95°)
OKLaboklab(46.63% 0.1701 -0.0736)
OKLCHoklch(46.63% 0.185 336.6)
XYZxyz(16.4358, 8.6136, 20.8716)
Luminance0.0861 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941B7F #1B9430
analogous
#6D1B94 #941B7F #941B43
triadic
#941B7F #7F941B #1B7F94
tetradic
#941B7F #946D1B #1B9430 #1B4394
square
#941B7F #946D1B #1B9430 #1B4394
split-complementary
#941B7F #43941B #1B946D
monochromatic
#2C0826 #601253 #941B7F #C824AB #DE4BC5

Accessibility & contrast

On white

7.71
#941B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #941B7F
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941B7F#FFFFFF#000000##FFFFFF
##941B7F1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4782
Deuteranopia (green-blind)
#4B597C
Tritanopia (blue-blind)
#9C254D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #941b7f;
/* rgb */ color: rgb(148, 27, 127);
/* oklch */ color: oklch(46.6% 0.185 336.6);
Tailwind
colors: {
  custom: {
    50: '#b768a4',
    500: '#941b7f',
    950: '#000000',
  },
}
SCSS
$custom: #941b7f;
$custom-light: #b768a4;
$custom-dark: #000000;
JSON
{
  "hex": "#941b7f",
  "rgb": {
    "r": 148,
    "g": 27,
    "b": 127
  },
  "hsl": {
    "h": 310.413,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46633,
    "c": 0.18533,
    "h": 336.6
  },
  "luminance": 0.08612
}

Semantic roles & 50–950 ramp

primary
#941B7F
secondary
#4BC05F
accent
#EC5A3C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #941B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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