#942957#942957

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

Color values

HEX#942957
RGBrgb(148, 41, 87)
HSLhsl(334, 57%, 37%)
HSVhsv(334, 72%, 58%)
CMYKcmyk(0%, 72.3%, 41.2%, 42%)
CIE-LABlab(35.15, 48.09, -1.73)
CIE-LCHlch(35.15, 48.13, 357.94°)
OKLaboklab(46.03% 0.1475 -0.004)
OKLCHoklch(46.03% 0.148 358.5)
XYZxyz(14.7270, 8.5717, 9.8940)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942957 #299466
analogous
#94298D #942957 #943129
triadic
#942957 #579429 #295794
tetradic
#942957 #8D9429 #299466 #312994
square
#942957 #8D9429 #299466 #312994
split-complementary
#942957 #299431 #298D94
monochromatic
#340E1F #641C3B #942957 #C43673 #D46394

Accessibility & contrast

On white

7.74
#942957 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#942957 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942957
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942957#FFFFFF#000000##FFFFFF
##9429571.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4658
Deuteranopia (green-blind)
#5C5A55
Tritanopia (blue-blind)
#A01C3C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #942957;
/* rgb */ color: rgb(148, 41, 87);
/* oklch */ color: oklch(46.0% 0.148 358.5);
Tailwind
colors: {
  custom: {
    50: '#b86c86',
    500: '#942957',
    950: '#000000',
  },
}
SCSS
$custom: #942957;
$custom-light: #b86c86;
$custom-dark: #000000;
JSON
{
  "hex": "#942957",
  "rgb": {
    "r": 148,
    "g": 41,
    "b": 87
  },
  "hsl": {
    "h": 334.206,
    "s": 56.614,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46025,
    "c": 0.14753,
    "h": 358.5
  },
  "luminance": 0.0857
}

Semantic roles & 50–950 ramp

primary
#942957
secondary
#5FBA93
accent
#E09F48
background
#FBF6F8
surface
#F7ECEF
border
#D0C7CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #942957

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

Preview Lab → · Contrast checker → · Palette generator →

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