#942E6C#942E6C

#942E6C is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.4% C 0.151 H 347.0°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#942E6C
RGBrgb(148, 46, 108)
HSLhsl(324, 53%, 38%)
HSVhsv(324, 69%, 58%)
CMYKcmyk(0%, 68.9%, 27%, 42%)
CIE-LABlab(36.62, 48.67, -12.91)
CIE-LCHlch(36.62, 50.36, 345.15°)
OKLaboklab(47.36% 0.1475 -0.0341)
OKLCHoklch(47.36% 0.151 347)
XYZxyz(15.8972, 9.3343, 15.1489)
Luminance0.0933 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E6C #2E9456
analogous
#892E94 #942E6C #942E39
triadic
#942E6C #6C942E #2E6C94
tetradic
#942E6C #94892E #2E9456 #2E3994
square
#942E6C #94892E #2E9456 #2E3994
split-complementary
#942E6C #39942E #2E9489
monochromatic
#371128 #651F4A #942E6C #C33D8E #D16BA9

Accessibility & contrast

On white

7.33
#942E6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#942E6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942E6C
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E6C#FFFFFF#000000##FFFFFF
##942E6C1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4B6E
Deuteranopia (green-blind)
#585D6A
Tritanopia (blue-blind)
#9E2B49
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #942e6c;
/* rgb */ color: rgb(148, 46, 108);
/* oklch */ color: oklch(47.4% 0.151 347.0);
Tailwind
colors: {
  custom: {
    50: '#b76f96',
    500: '#942e6c',
    950: '#000000',
  },
}
SCSS
$custom: #942e6c;
$custom-light: #b76f96;
$custom-dark: #000000;
JSON
{
  "hex": "#942e6c",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 108
  },
  "hsl": {
    "h": 323.529,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47358,
    "c": 0.15137,
    "h": 347
  },
  "luminance": 0.09333
}

Semantic roles & 50–950 ramp

primary
#942E6C
secondary
#66B886
accent
#DC844C
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#12080D
muted
#817B7E

Preview Lab

Preview with #942E6C

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

Preview Lab → · Contrast checker → · Palette generator →

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