#942E7E#942E7E

#942E7E is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.2% C 0.163 H 337.6°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#942E7E
RGBrgb(148, 46, 126)
HSLhsl(313, 53%, 38%)
HSVhsv(313, 69%, 58%)
CMYKcmyk(0%, 68.9%, 14.9%, 42%)
CIE-LABlab(37.40, 51.28, -22.97)
CIE-LCHlch(37.40, 56.19, 335.87°)
OKLaboklab(48.19% 0.1511 -0.0623)
OKLCHoklch(48.19% 0.163 337.6)
XYZxyz(16.9559, 9.7578, 20.7250)
Luminance0.0976 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E7E #2E9444
analogous
#772E94 #942E7E #942E4B
triadic
#942E7E #7E942E #2E7E94
tetradic
#942E7E #94772E #2E9444 #2E4B94
square
#942E7E #94772E #2E9444 #2E4B94
split-complementary
#942E7E #4B942E #2E9477
monochromatic
#37112F #651F56 #942E7E #C33DA6 #D16BBB

Accessibility & contrast

On white

7.12
#942E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #942E7E
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E7E#FFFFFF#000000##FFFFFF
##942E7E1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314E80
Deuteranopia (green-blind)
#525E7C
Tritanopia (blue-blind)
#9C3352
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #942e7e;
/* rgb */ color: rgb(148, 46, 126);
/* oklch */ color: oklch(48.2% 0.163 337.6);
Tailwind
colors: {
  custom: {
    50: '#b76fa3',
    500: '#942e7e',
    950: '#000000',
  },
}
SCSS
$custom: #942e7e;
$custom-light: #b76fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#942e7e",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 312.941,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48187,
    "c": 0.16343,
    "h": 337.6
  },
  "luminance": 0.09756
}

Semantic roles & 50–950 ramp

primary
#942E7E
secondary
#66B877
accent
#DC6B4C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #942E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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