#942E77#942E77

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

Color values

HEX#942E77
RGBrgb(148, 46, 119)
HSLhsl(317, 53%, 38%)
HSVhsv(317, 69%, 58%)
CMYKcmyk(0%, 68.9%, 19.6%, 42%)
CIE-LABlab(37.08, 50.23, -19.11)
CIE-LCHlch(37.08, 53.74, 339.17°)
OKLaboklab(47.85% 0.1499 -0.0513)
OKLCHoklch(47.85% 0.158 341.1)
XYZxyz(16.5200, 9.5834, 18.4289)
Luminance0.0958 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E77 #2E944B
analogous
#7E2E94 #942E77 #942E44
triadic
#942E77 #77942E #2E7794
tetradic
#942E77 #947E2E #2E944B #2E4494
square
#942E77 #947E2E #2E944B #2E4494
split-complementary
#942E77 #44942E #2E947E
monochromatic
#37112C #651F51 #942E77 #C33D9C #D16BB4

Accessibility & contrast

On white

7.20
#942E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#942E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942E77
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E77#FFFFFF#000000##FFFFFF
##942E771.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354D79
Deuteranopia (green-blind)
#555D75
Tritanopia (blue-blind)
#9D304E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #942e77;
/* rgb */ color: rgb(148, 46, 119);
/* oklch */ color: oklch(47.9% 0.158 341.1);
Tailwind
colors: {
  custom: {
    50: '#b76f9e',
    500: '#942e77',
    950: '#000000',
  },
}
SCSS
$custom: #942e77;
$custom-light: #b76f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#942e77",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 119
  },
  "hsl": {
    "h": 317.059,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4785,
    "c": 0.15845,
    "h": 341.1
  },
  "luminance": 0.09582
}

Semantic roles & 50–950 ramp

primary
#942E77
secondary
#66B87D
accent
#DC754C
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #942E77

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

Preview Lab → · Contrast checker → · Palette generator →

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