#942E58#942E58

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

Color values

HEX#942E58
RGBrgb(148, 46, 88)
HSLhsl(335, 53%, 38%)
HSVhsv(335, 69%, 58%)
CMYKcmyk(0%, 68.9%, 40.5%, 42%)
CIE-LABlab(35.90, 46.21, -1.27)
CIE-LCHlch(35.90, 46.22, 358.43°)
OKLaboklab(46.59% 0.1415 -0.0027)
OKLCHoklch(46.59% 0.142 358.9)
XYZxyz(14.9522, 8.9563, 10.1720)
Luminance0.0895 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E58 #2E946A
analogous
#942E8B #942E58 #94372E
triadic
#942E58 #58942E #2E5894
tetradic
#942E58 #8B942E #2E946A #372E94
square
#942E58 #8B942E #2E946A #372E94
split-complementary
#942E58 #2E9437 #2E8B94
monochromatic
#371120 #651F3C #942E58 #C33D74 #D16B95

Accessibility & contrast

On white

7.52
#942E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#942E58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942E58
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E58#FFFFFF#000000##FFFFFF
##942E581.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424859
Deuteranopia (green-blind)
#5D5C56
Tritanopia (blue-blind)
#A0233F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #942e58;
/* rgb */ color: rgb(148, 46, 88);
/* oklch */ color: oklch(46.6% 0.142 358.9);
Tailwind
colors: {
  custom: {
    50: '#b86e87',
    500: '#942e58',
    950: '#000000',
  },
}
SCSS
$custom: #942e58;
$custom-light: #b86e87;
$custom-dark: #000000;
JSON
{
  "hex": "#942e58",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 88
  },
  "hsl": {
    "h": 335.294,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46592,
    "c": 0.14152,
    "h": 358.9
  },
  "luminance": 0.08954
}

Semantic roles & 50–950 ramp

primary
#942E58
secondary
#66B896
accent
#DCA14C
background
#FBF6F8
surface
#F7ECEF
border
#D0C7CA
text
#12080B
muted
#817B7C

Preview Lab

Preview with #942E58

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

Preview Lab → · Contrast checker → · Palette generator →

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