#941B7A#941B7A

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

Color values

HEX#941B7A
RGBrgb(148, 27, 122)
HSLhsl(313, 69%, 34%)
HSVhsv(313, 82%, 58%)
CMYKcmyk(0%, 81.8%, 17.6%, 42%)
CIE-LABlab(34.98, 57.03, -24.26)
CIE-LCHlch(34.98, 61.97, 336.96°)
OKLaboklab(46.37% 0.1696 -0.0658)
OKLCHoklch(46.37% 0.182 338.8)
XYZxyz(16.1180, 8.4865, 19.1978)
Luminance0.0848 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941B7A #1B9435
analogous
#721B94 #941B7A #941B3D
triadic
#941B7A #7A941B #1B7A94
tetradic
#941B7A #94721B #1B9435 #1B3D94
square
#941B7A #94721B #1B9435 #1B3D94
split-complementary
#941B7A #3D941B #1B9472
monochromatic
#2C0825 #60124F #941B7A #C824A5 #DE4BBF

Accessibility & contrast

On white

7.79
#941B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #941B7A
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941B7A#FFFFFF#000000##FFFFFF
##941B7A1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23467C
Deuteranopia (green-blind)
#4D5977
Tritanopia (blue-blind)
#9D224A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #941b7a;
/* rgb */ color: rgb(148, 27, 122);
/* oklch */ color: oklch(46.4% 0.182 338.8);
Tailwind
colors: {
  custom: {
    50: '#b767a0',
    500: '#941b7a',
    950: '#000000',
  },
}
SCSS
$custom: #941b7a;
$custom-light: #b767a0;
$custom-dark: #000000;
JSON
{
  "hex": "#941b7a",
  "rgb": {
    "r": 148,
    "g": 27,
    "b": 122
  },
  "hsl": {
    "h": 312.893,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46369,
    "c": 0.18196,
    "h": 338.8
  },
  "luminance": 0.08485
}

Semantic roles & 50–950 ramp

primary
#941B7A
secondary
#4BC064
accent
#EC623C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #941B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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