#942E75#942E75

#942E75 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.8% C 0.157 H 342.1°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#942E75
RGBrgb(148, 46, 117)
HSLhsl(318, 53%, 38%)
HSVhsv(318, 69%, 58%)
CMYKcmyk(0%, 68.9%, 20.9%, 42%)
CIE-LABlab(37.00, 49.93, -17.99)
CIE-LCHlch(37.00, 53.08, 340.19°)
OKLaboklab(47.76% 0.1495 -0.0482)
OKLCHoklch(47.76% 0.157 342.1)
XYZxyz(16.4011, 9.5358, 17.8030)
Luminance0.0953 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E75 #2E944D
analogous
#802E94 #942E75 #942E42
triadic
#942E75 #75942E #2E7594
tetradic
#942E75 #94802E #2E944D #2E4294
square
#942E75 #94802E #2E944D #2E4294
split-complementary
#942E75 #42942E #2E9480
monochromatic
#37112B #651F50 #942E75 #C33D9A #D16BB2

Accessibility & contrast

On white

7.22
#942E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#942E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942E75
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E75#FFFFFF#000000##FFFFFF
##942E751.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364C77
Deuteranopia (green-blind)
#555D73
Tritanopia (blue-blind)
#9D2F4D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #942e75;
/* rgb */ color: rgb(148, 46, 117);
/* oklch */ color: oklch(47.8% 0.157 342.1);
Tailwind
colors: {
  custom: {
    50: '#b76f9d',
    500: '#942e75',
    950: '#000000',
  },
}
SCSS
$custom: #942e75;
$custom-light: #b76f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#942e75",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 117
  },
  "hsl": {
    "h": 318.235,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47757,
    "c": 0.1571,
    "h": 342.1
  },
  "luminance": 0.09534
}

Semantic roles & 50–950 ramp

primary
#942E75
secondary
#66B87F
accent
#DC784C
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #942E75

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

Preview Lab → · Contrast checker → · Palette generator →

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