#942E5F#942E5F

#942E5F is a mid, vivid pink. Relative luminance 0.091; OKLCH L 46.8% C 0.144 H 354.6°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#942E5F
RGBrgb(148, 46, 95)
HSLhsl(331, 53%, 38%)
HSVhsv(331, 69%, 58%)
CMYKcmyk(0%, 68.9%, 35.8%, 42%)
CIE-LABlab(36.13, 47.02, -5.39)
CIE-LCHlch(36.13, 47.32, 353.45°)
OKLaboklab(46.84% 0.1438 -0.0136)
OKLCHoklch(46.84% 0.144 354.6)
XYZxyz(15.2562, 9.0779, 11.7730)
Luminance0.0908 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E5F #2E9463
analogous
#942E92 #942E5F #94302E
triadic
#942E5F #5F942E #2E5F94
tetradic
#942E5F #92942E #2E9463 #302E94
square
#942E5F #92942E #2E9463 #302E94
split-complementary
#942E5F #2E9430 #2E9294
monochromatic
#371123 #651F41 #942E5F #C33D7D #D16B9C

Accessibility & contrast

On white

7.46
#942E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#942E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942E5F
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E5F#FFFFFF#000000##FFFFFF
##942E5F1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4960
Deuteranopia (green-blind)
#5C5C5D
Tritanopia (blue-blind)
#A02642
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #942e5f;
/* rgb */ color: rgb(148, 46, 95);
/* oklch */ color: oklch(46.8% 0.144 354.6);
Tailwind
colors: {
  custom: {
    50: '#b76e8c',
    500: '#942e5f',
    950: '#000000',
  },
}
SCSS
$custom: #942e5f;
$custom-light: #b76e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#942e5f",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 95
  },
  "hsl": {
    "h": 331.176,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46841,
    "c": 0.14446,
    "h": 354.6
  },
  "luminance": 0.09076
}

Semantic roles & 50–950 ramp

primary
#942E5F
secondary
#66B891
accent
#DC974C
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#12080C
muted
#817B7D

Preview Lab

Preview with #942E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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