#942771#942771

#942771 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.9% C 0.163 H 343.7°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#942771
RGBrgb(148, 39, 113)
HSLhsl(319, 58%, 37%)
HSVhsv(319, 74%, 58%)
CMYKcmyk(0%, 73.6%, 23.6%, 42%)
CIE-LABlab(35.87, 52.04, -17.21)
CIE-LCHlch(35.87, 54.81, 341.70°)
OKLaboklab(46.88% 0.1569 -0.046)
OKLCHoklch(46.88% 0.163 343.7)
XYZxyz(15.9195, 8.9408, 16.5070)
Luminance0.0894 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942771 #27944A
analogous
#812794 #942771 #94273B
triadic
#942771 #719427 #277194
tetradic
#942771 #948127 #27944A #273B94
square
#942771 #948127 #27944A #273B94
split-complementary
#942771 #3B9427 #279481
monochromatic
#330D27 #641A4C #942771 #C43496 #D560B0

Accessibility & contrast

On white

7.53
#942771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#942771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942771
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942771#FFFFFF#000000##FFFFFF
##9427711.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334973
Deuteranopia (green-blind)
#545B6E
Tritanopia (blue-blind)
#9E2748
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #942771;
/* rgb */ color: rgb(148, 39, 113);
/* oklch */ color: oklch(46.9% 0.163 343.7);
Tailwind
colors: {
  custom: {
    50: '#b76c9a',
    500: '#942771',
    950: '#000000',
  },
}
SCSS
$custom: #942771;
$custom-light: #b76c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#942771",
  "rgb": {
    "r": 148,
    "g": 39,
    "b": 113
  },
  "hsl": {
    "h": 319.266,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46879,
    "c": 0.16347,
    "h": 343.7
  },
  "luminance": 0.08939
}

Semantic roles & 50–950 ramp

primary
#942771
secondary
#5CBB7B
accent
#E27846
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #942771

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

Preview Lab → · Contrast checker → · Palette generator →

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