#942E5A#942E5A

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

Color values

HEX#942E5A
RGBrgb(148, 46, 90)
HSLhsl(334, 53%, 38%)
HSVhsv(334, 69%, 58%)
CMYKcmyk(0%, 68.9%, 39.2%, 42%)
CIE-LABlab(35.96, 46.43, -2.45)
CIE-LCHlch(35.96, 46.50, 356.98°)
OKLaboklab(46.66% 0.1422 -0.0058)
OKLCHoklch(46.66% 0.142 357.6)
XYZxyz(15.0362, 8.9898, 10.6143)
Luminance0.0899 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E5A #2E9468
analogous
#942E8D #942E5A #94352E
triadic
#942E5A #5A942E #2E5A94
tetradic
#942E5A #8D942E #2E9468 #352E94
square
#942E5A #8D942E #2E9468 #352E94
split-complementary
#942E5A #2E9435 #2E8D94
monochromatic
#371121 #651F3E #942E5A #C33D76 #D16B97

Accessibility & contrast

On white

7.51
#942E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #942E5A
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E5A#FFFFFF#000000##FFFFFF
##942E5A1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41485B
Deuteranopia (green-blind)
#5D5C58
Tritanopia (blue-blind)
#A02440
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #942e5a;
/* rgb */ color: rgb(148, 46, 90);
/* oklch */ color: oklch(46.7% 0.142 357.6);
Tailwind
colors: {
  custom: {
    50: '#b86e88',
    500: '#942e5a',
    950: '#000000',
  },
}
SCSS
$custom: #942e5a;
$custom-light: #b86e88;
$custom-dark: #000000;
JSON
{
  "hex": "#942e5a",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 90
  },
  "hsl": {
    "h": 334.118,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46661,
    "c": 0.14229,
    "h": 357.6
  },
  "luminance": 0.08988
}

Semantic roles & 50–950 ramp

primary
#942E5A
secondary
#66B895
accent
#DC9E4C
background
#FBF6F8
surface
#F7ECEF
border
#D0C7CA
text
#12080B
muted
#817B7C

Preview Lab

Preview with #942E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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