#942E71#942E71

#942E71 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.154 H 344.2°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#942E71
RGBrgb(148, 46, 113)
HSLhsl(321, 53%, 38%)
HSVhsv(321, 69%, 58%)
CMYKcmyk(0%, 68.9%, 23.6%, 42%)
CIE-LABlab(36.83, 49.36, -15.75)
CIE-LCHlch(36.83, 51.81, 342.31°)
OKLaboklab(47.58% 0.1487 -0.0419)
OKLCHoklch(47.58% 0.154 344.2)
XYZxyz(16.1709, 9.4438, 16.5908)
Luminance0.0944 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E71 #2E9451
analogous
#842E94 #942E71 #942E3E
triadic
#942E71 #71942E #2E7194
tetradic
#942E71 #94842E #2E9451 #2E3E94
square
#942E71 #94842E #2E9451 #2E3E94
split-complementary
#942E71 #3E942E #2E9484
monochromatic
#37112A #651F4D #942E71 #C33D95 #D16BAE

Accessibility & contrast

On white

7.27
#942E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#942E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942E71
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E71#FFFFFF#000000##FFFFFF
##942E711.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384C73
Deuteranopia (green-blind)
#575D6F
Tritanopia (blue-blind)
#9E2D4B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #942e71;
/* rgb */ color: rgb(148, 46, 113);
/* oklch */ color: oklch(47.6% 0.154 344.2);
Tailwind
colors: {
  custom: {
    50: '#b76f9a',
    500: '#942e71',
    950: '#000000',
  },
}
SCSS
$custom: #942e71;
$custom-light: #b76f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#942e71",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 320.588,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47575,
    "c": 0.15447,
    "h": 344.2
  },
  "luminance": 0.09442
}

Semantic roles & 50–950 ramp

primary
#942E71
secondary
#66B882
accent
#DC7D4C
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #942E71

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

Preview Lab → · Contrast checker → · Palette generator →

#942E71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva