#942E52#942E52

#942E52 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.4% C 0.139 H 2.7°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#942E52
RGBrgb(148, 46, 82)
HSLhsl(339, 53%, 38%)
HSVhsv(339, 69%, 58%)
CMYKcmyk(0%, 68.9%, 44.6%, 42%)
CIE-LABlab(35.72, 45.56, 2.31)
CIE-LCHlch(35.72, 45.62, 2.91°)
OKLaboklab(46.4% 0.1393 0.0065)
OKLCHoklch(46.4% 0.139 2.7)
XYZxyz(14.7138, 8.8609, 8.9165)
Luminance0.0886 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E52 #2E9470
analogous
#942E85 #942E52 #943D2E
triadic
#942E52 #52942E #2E5294
tetradic
#942E52 #85942E #2E9470 #3D2E94
square
#942E52 #85942E #2E9470 #3D2E94
split-complementary
#942E52 #2E943D #2E8594
monochromatic
#37111E #651F38 #942E52 #C33D6C #D16B8F

Accessibility & contrast

On white

7.58
#942E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#942E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942E52
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E52#FFFFFF#000000##FFFFFF
##942E521.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434753
Deuteranopia (green-blind)
#5E5B50
Tritanopia (blue-blind)
#A1203D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #942e52;
/* rgb */ color: rgb(148, 46, 82);
/* oklch */ color: oklch(46.4% 0.139 2.7);
Tailwind
colors: {
  custom: {
    50: '#b86e82',
    500: '#942e52',
    950: '#000000',
  },
}
SCSS
$custom: #942e52;
$custom-light: #b86e82;
$custom-dark: #000000;
JSON
{
  "hex": "#942e52",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 82
  },
  "hsl": {
    "h": 338.824,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46395,
    "c": 0.13948,
    "h": 2.7
  },
  "luminance": 0.08859
}

Semantic roles & 50–950 ramp

primary
#942E52
secondary
#66B89B
accent
#DCA94C
background
#FBF6F7
surface
#F7ECEE
border
#D0C7C9
text
#12080A
muted
#817B7C

Preview Lab

Preview with #942E52

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

Preview Lab → · Contrast checker → · Palette generator →

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