#942E76#942E76

#942E76 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.8% C 0.158 H 341.6°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#942E76
RGBrgb(148, 46, 118)
HSLhsl(318, 53%, 38%)
HSVhsv(318, 69%, 58%)
CMYKcmyk(0%, 68.9%, 20.3%, 42%)
CIE-LABlab(37.04, 50.08, -18.55)
CIE-LCHlch(37.04, 53.40, 339.67°)
OKLaboklab(47.8% 0.1497 -0.0498)
OKLCHoklch(47.8% 0.158 341.6)
XYZxyz(16.4602, 9.5595, 18.1143)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E76 #2E944C
analogous
#7F2E94 #942E76 #942E43
triadic
#942E76 #76942E #2E7694
tetradic
#942E76 #947F2E #2E944C #2E4394
square
#942E76 #947F2E #2E944C #2E4394
split-complementary
#942E76 #43942E #2E947F
monochromatic
#37112C #651F51 #942E76 #C33D9B #D16BB3

Accessibility & contrast

On white

7.21
#942E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#942E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942E76
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E76#FFFFFF#000000##FFFFFF
##942E761.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364D78
Deuteranopia (green-blind)
#555D74
Tritanopia (blue-blind)
#9D2F4E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #942e76;
/* rgb */ color: rgb(148, 46, 118);
/* oklch */ color: oklch(47.8% 0.158 341.6);
Tailwind
colors: {
  custom: {
    50: '#b76f9d',
    500: '#942e76',
    950: '#000000',
  },
}
SCSS
$custom: #942e76;
$custom-light: #b76f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#942e76",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 118
  },
  "hsl": {
    "h": 317.647,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47803,
    "c": 0.15777,
    "h": 341.6
  },
  "luminance": 0.09558
}

Semantic roles & 50–950 ramp

primary
#942E76
secondary
#66B87E
accent
#DC764C
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #942E76

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

Preview Lab → · Contrast checker → · Palette generator →

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