#942E56#942E56

#942E56 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.5% C 0.141 H 0.1°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#942E56
RGBrgb(148, 46, 86)
HSLhsl(336, 53%, 38%)
HSVhsv(336, 69%, 58%)
CMYKcmyk(0%, 68.9%, 41.9%, 42%)
CIE-LABlab(35.84, 45.99, -0.08)
CIE-LCHlch(35.84, 45.99, 359.90°)
OKLaboklab(46.52% 0.1408 0.0003)
OKLCHoklch(46.52% 0.141 0.1)
XYZxyz(14.8705, 8.9236, 9.7416)
Luminance0.0892 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E56 #2E946C
analogous
#942E89 #942E56 #94392E
triadic
#942E56 #56942E #2E5694
tetradic
#942E56 #89942E #2E946C #392E94
square
#942E56 #89942E #2E946C #392E94
split-complementary
#942E56 #2E9439 #2E8994
monochromatic
#371120 #651F3B #942E56 #C33D71 #D16B93

Accessibility & contrast

On white

7.54
#942E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#942E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942E56
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E56#FFFFFF#000000##FFFFFF
##942E561.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424857
Deuteranopia (green-blind)
#5E5B54
Tritanopia (blue-blind)
#A0223E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #942e56;
/* rgb */ color: rgb(148, 46, 86);
/* oklch */ color: oklch(46.5% 0.141 0.1);
Tailwind
colors: {
  custom: {
    50: '#b86e85',
    500: '#942e56',
    950: '#000000',
  },
}
SCSS
$custom: #942e56;
$custom-light: #b86e85;
$custom-dark: #000000;
JSON
{
  "hex": "#942e56",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 86
  },
  "hsl": {
    "h": 336.471,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46524,
    "c": 0.14079,
    "h": 0.1
  },
  "luminance": 0.08922
}

Semantic roles & 50–950 ramp

primary
#942E56
secondary
#66B898
accent
#DCA34C
background
#FBF6F8
surface
#F7ECEF
border
#D0C7CA
text
#12080B
muted
#817B7C

Preview Lab

Preview with #942E56

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

Preview Lab → · Contrast checker → · Palette generator →

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