#942E7D#942E7D

#942E7D is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.1% C 0.163 H 338.1°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#942E7D
RGBrgb(148, 46, 125)
HSLhsl(314, 53%, 38%)
HSVhsv(314, 69%, 58%)
CMYKcmyk(0%, 68.9%, 15.5%, 42%)
CIE-LABlab(37.36, 51.13, -22.42)
CIE-LCHlch(37.36, 55.83, 336.32°)
OKLaboklab(48.14% 0.1509 -0.0607)
OKLCHoklch(48.14% 0.163 338.1)
XYZxyz(16.8917, 9.7321, 20.3869)
Luminance0.0973 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E7D #2E9445
analogous
#782E94 #942E7D #942E4A
triadic
#942E7D #7D942E #2E7D94
tetradic
#942E7D #94782E #2E9445 #2E4A94
square
#942E7D #94782E #2E9445 #2E4A94
split-complementary
#942E7D #4A942E #2E9478
monochromatic
#37112E #651F56 #942E7D #C33DA4 #D16BBA

Accessibility & contrast

On white

7.13
#942E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#942E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942E7D
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E7D#FFFFFF#000000##FFFFFF
##942E7D1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324E7F
Deuteranopia (green-blind)
#535E7B
Tritanopia (blue-blind)
#9C3251
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #942e7d;
/* rgb */ color: rgb(148, 46, 125);
/* oklch */ color: oklch(48.1% 0.163 338.1);
Tailwind
colors: {
  custom: {
    50: '#b76fa3',
    500: '#942e7d',
    950: '#000000',
  },
}
SCSS
$custom: #942e7d;
$custom-light: #b76fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#942e7d",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 313.529,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48138,
    "c": 0.1627,
    "h": 338.1
  },
  "luminance": 0.09731
}

Semantic roles & 50–950 ramp

primary
#942E7D
secondary
#66B878
accent
#DC6C4C
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #942E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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