#941771#941771

#941771 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.7% C 0.180 H 342.8°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#941771
RGBrgb(148, 23, 113)
HSLhsl(317, 73%, 34%)
HSVhsv(317, 84%, 58%)
CMYKcmyk(0%, 84.5%, 23.6%, 42%)
CIE-LABlab(34.20, 56.81, -19.80)
CIE-LCHlch(34.20, 60.16, 340.79°)
OKLaboklab(45.67% 0.1716 -0.0531)
OKLCHoklch(45.67% 0.18 342.8)
XYZxyz(15.5004, 8.1027, 16.3673)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941771 #17943A
analogous
#781794 #941771 #941732
triadic
#941771 #719417 #177194
tetradic
#941771 #947817 #17943A #173294
square
#941771 #947817 #17943A #173294
split-complementary
#941771 #329417 #179478
monochromatic
#2A0720 #5F0F49 #941771 #C91F99 #E244B6

Accessibility & contrast

On white

8.01
#941771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#941771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941771
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941771#FFFFFF#000000##FFFFFF
##9417711.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274473
Deuteranopia (green-blind)
#4F586E
Tritanopia (blue-blind)
#9E1844
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #941771;
/* rgb */ color: rgb(148, 23, 113);
/* oklch */ color: oklch(45.7% 0.180 342.8);
Tailwind
colors: {
  custom: {
    50: '#b8669a',
    500: '#941771',
    950: '#000000',
  },
}
SCSS
$custom: #941771;
$custom-light: #b8669a;
$custom-dark: #000000;
JSON
{
  "hex": "#941771",
  "rgb": {
    "r": 148,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 316.8,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45667,
    "c": 0.17961,
    "h": 342.8
  },
  "luminance": 0.08101
}

Semantic roles & 50–950 ramp

primary
#941771
secondary
#44C368
accent
#F06B38
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #941771

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

Preview Lab → · Contrast checker → · Palette generator →

#941771 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva