#942E79#942E79

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

Color values

HEX#942E79
RGBrgb(148, 46, 121)
HSLhsl(316, 53%, 38%)
HSVhsv(316, 69%, 58%)
CMYKcmyk(0%, 68.9%, 18.2%, 42%)
CIE-LABlab(37.17, 50.52, -20.22)
CIE-LCHlch(37.17, 54.42, 338.19°)
OKLaboklab(47.94% 0.1503 -0.0545)
OKLCHoklch(47.94% 0.16 340.1)
XYZxyz(16.6413, 9.6319, 19.0682)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E79 #2E9449
analogous
#7C2E94 #942E79 #942E46
triadic
#942E79 #79942E #2E7994
tetradic
#942E79 #947C2E #2E9449 #2E4694
square
#942E79 #947C2E #2E9449 #2E4694
split-complementary
#942E79 #46942E #2E947C
monochromatic
#37112D #651F53 #942E79 #C33D9F #D16BB6

Accessibility & contrast

On white

7.18
#942E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#942E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942E79
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E79#FFFFFF#000000##FFFFFF
##942E791.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344D7B
Deuteranopia (green-blind)
#545D77
Tritanopia (blue-blind)
#9D314F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #942e79;
/* rgb */ color: rgb(148, 46, 121);
/* oklch */ color: oklch(47.9% 0.160 340.1);
Tailwind
colors: {
  custom: {
    50: '#b76fa0',
    500: '#942e79',
    950: '#000000',
  },
}
SCSS
$custom: #942e79;
$custom-light: #b76fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#942e79",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 121
  },
  "hsl": {
    "h": 315.882,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47944,
    "c": 0.15984,
    "h": 340.1
  },
  "luminance": 0.0963
}

Semantic roles & 50–950 ramp

primary
#942E79
secondary
#66B87B
accent
#DC724C
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #942E79

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

Preview Lab → · Contrast checker → · Palette generator →

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