#942E81#942E81

#942E81 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.3% C 0.166 H 336.2°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#942E81
RGBrgb(148, 46, 129)
HSLhsl(311, 53%, 38%)
HSVhsv(311, 69%, 58%)
CMYKcmyk(0%, 68.9%, 12.8%, 42%)
CIE-LABlab(37.55, 51.75, -24.61)
CIE-LCHlch(37.55, 57.30, 334.57°)
OKLaboklab(48.34% 0.1515 -0.0669)
OKLCHoklch(48.34% 0.166 336.2)
XYZxyz(17.1524, 9.8363, 21.7599)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E81 #2E9441
analogous
#742E94 #942E81 #942E4E
triadic
#942E81 #81942E #2E8194
tetradic
#942E81 #94742E #2E9441 #2E4E94
square
#942E81 #94742E #2E9441 #2E4E94
split-complementary
#942E81 #4E942E #2E9474
monochromatic
#371130 #651F58 #942E81 #C33DAA #D16BBE

Accessibility & contrast

On white

7.08
#942E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#942E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942E81
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E81#FFFFFF#000000##FFFFFF
##942E811.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4E83
Deuteranopia (green-blind)
#515E7E
Tritanopia (blue-blind)
#9C3453
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #942e81;
/* rgb */ color: rgb(148, 46, 129);
/* oklch */ color: oklch(48.3% 0.166 336.2);
Tailwind
colors: {
  custom: {
    50: '#b76fa6',
    500: '#942e81',
    950: '#000000',
  },
}
SCSS
$custom: #942e81;
$custom-light: #b76fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#942e81",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 129
  },
  "hsl": {
    "h": 311.176,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48338,
    "c": 0.16565,
    "h": 336.2
  },
  "luminance": 0.09835
}

Semantic roles & 50–950 ramp

primary
#942E81
secondary
#66B875
accent
#DC674C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #942E81

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

Preview Lab → · Contrast checker → · Palette generator →

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