#942E6F#942E6F

#942E6F is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.5% C 0.153 H 345.3°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#942E6F
RGBrgb(148, 46, 111)
HSLhsl(322, 53%, 38%)
HSVhsv(322, 69%, 58%)
CMYKcmyk(0%, 68.9%, 25%, 42%)
CIE-LABlab(36.74, 49.08, -14.62)
CIE-LCHlch(36.74, 51.21, 343.42°)
OKLaboklab(47.49% 0.1482 -0.0388)
OKLCHoklch(47.49% 0.153 345.3)
XYZxyz(16.0596, 9.3992, 16.0043)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E6F #2E9453
analogous
#862E94 #942E6F #942E3C
triadic
#942E6F #6F942E #2E6F94
tetradic
#942E6F #94862E #2E9453 #2E3C94
square
#942E6F #94862E #2E9453 #2E3C94
split-complementary
#942E6F #3C942E #2E9486
monochromatic
#371129 #651F4C #942E6F #C33D92 #D16BAC

Accessibility & contrast

On white

7.29
#942E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#942E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942E6F
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E6F#FFFFFF#000000##FFFFFF
##942E6F1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394B71
Deuteranopia (green-blind)
#575D6D
Tritanopia (blue-blind)
#9E2C4A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #942e6f;
/* rgb */ color: rgb(148, 46, 111);
/* oklch */ color: oklch(47.5% 0.153 345.3);
Tailwind
colors: {
  custom: {
    50: '#b76f98',
    500: '#942e6f',
    950: '#000000',
  },
}
SCSS
$custom: #942e6f;
$custom-light: #b76f98;
$custom-dark: #000000;
JSON
{
  "hex": "#942e6f",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 111
  },
  "hsl": {
    "h": 321.765,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47487,
    "c": 0.1532,
    "h": 345.3
  },
  "luminance": 0.09398
}

Semantic roles & 50–950 ramp

primary
#942E6F
secondary
#66B884
accent
#DC804C
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#12080D
muted
#817B7E

Preview Lab

Preview with #942E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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