#942E6A#942E6A

#942E6A is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.3% C 0.150 H 348.1°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#942E6A
RGBrgb(148, 46, 106)
HSLhsl(325, 53%, 38%)
HSVhsv(325, 69%, 58%)
CMYKcmyk(0%, 68.9%, 28.4%, 42%)
CIE-LABlab(36.54, 48.41, -11.77)
CIE-LCHlch(36.54, 49.82, 346.34°)
OKLaboklab(47.27% 0.147 -0.0309)
OKLCHoklch(47.27% 0.15 348.1)
XYZxyz(15.7920, 9.2922, 14.5948)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E6A #2E9458
analogous
#8B2E94 #942E6A #942E37
triadic
#942E6A #6A942E #2E6A94
tetradic
#942E6A #948B2E #2E9458 #2E3794
square
#942E6A #948B2E #2E9458 #2E3794
split-complementary
#942E6A #37942E #2E948B
monochromatic
#371127 #651F49 #942E6A #C33D8B #D16BA7

Accessibility & contrast

On white

7.35
#942E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#942E6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942E6A
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E6A#FFFFFF#000000##FFFFFF
##942E6A1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4B6C
Deuteranopia (green-blind)
#595C68
Tritanopia (blue-blind)
#9E2A48
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #942e6a;
/* rgb */ color: rgb(148, 46, 106);
/* oklch */ color: oklch(47.3% 0.150 348.1);
Tailwind
colors: {
  custom: {
    50: '#b76f94',
    500: '#942e6a',
    950: '#000000',
  },
}
SCSS
$custom: #942e6a;
$custom-light: #b76f94;
$custom-dark: #000000;
JSON
{
  "hex": "#942e6a",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 106
  },
  "hsl": {
    "h": 324.706,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47274,
    "c": 0.1502,
    "h": 348.1
  },
  "luminance": 0.0929
}

Semantic roles & 50–950 ramp

primary
#942E6A
secondary
#66B888
accent
#DC874C
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#12080D
muted
#817B7E

Preview Lab

Preview with #942E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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