#942E5B#942E5B

#942E5B is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.7% C 0.143 H 357.0°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#942E5B
RGBrgb(148, 46, 91)
HSLhsl(334, 53%, 38%)
HSVhsv(334, 69%, 58%)
CMYKcmyk(0%, 68.9%, 38.5%, 42%)
CIE-LABlab(36.00, 46.55, -3.04)
CIE-LCHlch(36.00, 46.65, 356.26°)
OKLaboklab(46.7% 0.1425 -0.0074)
OKLCHoklch(46.7% 0.143 357)
XYZxyz(15.0790, 9.0070, 10.8399)
Luminance0.0901 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E5B #2E9467
analogous
#942E8E #942E5B #94342E
triadic
#942E5B #5B942E #2E5B94
tetradic
#942E5B #8E942E #2E9467 #342E94
square
#942E5B #8E942E #2E9467 #342E94
split-complementary
#942E5B #2E9434 #2E8E94
monochromatic
#371122 #651F3E #942E5B #C33D78 #D16B98

Accessibility & contrast

On white

7.50
#942E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#942E5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942E5B
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E5B#FFFFFF#000000##FFFFFF
##942E5B1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41495C
Deuteranopia (green-blind)
#5D5C59
Tritanopia (blue-blind)
#A02441
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #942e5b;
/* rgb */ color: rgb(148, 46, 91);
/* oklch */ color: oklch(46.7% 0.143 357.0);
Tailwind
colors: {
  custom: {
    50: '#b76e89',
    500: '#942e5b',
    950: '#000000',
  },
}
SCSS
$custom: #942e5b;
$custom-light: #b76e89;
$custom-dark: #000000;
JSON
{
  "hex": "#942e5b",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 91
  },
  "hsl": {
    "h": 333.529,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46696,
    "c": 0.1427,
    "h": 357
  },
  "luminance": 0.09005
}

Semantic roles & 50–950 ramp

primary
#942E5B
secondary
#66B894
accent
#DC9C4C
background
#FBF6F8
surface
#F7ECF0
border
#D0C7CB
text
#12080B
muted
#817B7C

Preview Lab

Preview with #942E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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