#942958#942958

#942958 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.1% C 0.148 H 357.9°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#942958
RGBrgb(148, 41, 88)
HSLhsl(334, 57%, 37%)
HSVhsv(334, 72%, 58%)
CMYKcmyk(0%, 72.3%, 40.5%, 42%)
CIE-LABlab(35.18, 48.20, -2.33)
CIE-LCHlch(35.18, 48.26, 357.24°)
OKLaboklab(46.06% 0.1478 -0.0055)
OKLCHoklch(46.06% 0.148 357.9)
XYZxyz(14.7681, 8.5882, 10.1106)
Luminance0.0859 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942958 #299465
analogous
#94298E #942958 #943029
triadic
#942958 #589429 #295894
tetradic
#942958 #8E9429 #299465 #302994
square
#942958 #8E9429 #299465 #302994
split-complementary
#942958 #299430 #298E94
monochromatic
#340E1F #641C3C #942958 #C43674 #D46395

Accessibility & contrast

On white

7.73
#942958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#942958 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942958
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942958#FFFFFF#000000##FFFFFF
##9429581.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4659
Deuteranopia (green-blind)
#5B5A56
Tritanopia (blue-blind)
#A01C3D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #942958;
/* rgb */ color: rgb(148, 41, 88);
/* oklch */ color: oklch(46.1% 0.148 357.9);
Tailwind
colors: {
  custom: {
    50: '#b86c87',
    500: '#942958',
    950: '#000000',
  },
}
SCSS
$custom: #942958;
$custom-light: #b86c87;
$custom-dark: #000000;
JSON
{
  "hex": "#942958",
  "rgb": {
    "r": 148,
    "g": 41,
    "b": 88
  },
  "hsl": {
    "h": 333.645,
    "s": 56.614,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4606,
    "c": 0.14791,
    "h": 357.9
  },
  "luminance": 0.08586
}

Semantic roles & 50–950 ramp

primary
#942958
secondary
#5FBA92
accent
#E09D48
background
#FBF6F8
surface
#F7ECEF
border
#D0C7CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #942958

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

Preview Lab → · Contrast checker → · Palette generator →

#942958 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva