#942756#942756

#942756 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.8% C 0.150 H 358.7°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#942756
RGBrgb(148, 39, 86)
HSLhsl(334, 58%, 37%)
HSVhsv(334, 74%, 58%)
CMYKcmyk(0%, 73.6%, 41.9%, 42%)
CIE-LABlab(34.84, 48.74, -1.53)
CIE-LCHlch(34.84, 48.76, 358.20°)
OKLaboklab(45.79% 0.1495 -0.0034)
OKLCHoklch(45.79% 0.15 358.7)
XYZxyz(14.6190, 8.4207, 9.6578)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942756 #279465
analogous
#94278D #942756 #942E27
triadic
#942756 #569427 #275694
tetradic
#942756 #8D9427 #279465 #2E2794
square
#942756 #8D9427 #279465 #2E2794
split-complementary
#942756 #27942E #278D94
monochromatic
#330D1E #641A3A #942756 #C43472 #D56093

Accessibility & contrast

On white

7.82
#942756 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#942756 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942756
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942756#FFFFFF#000000##FFFFFF
##9427561.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4557
Deuteranopia (green-blind)
#5B5953
Tritanopia (blue-blind)
#A0183B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #942756;
/* rgb */ color: rgb(148, 39, 86);
/* oklch */ color: oklch(45.8% 0.150 358.7);
Tailwind
colors: {
  custom: {
    50: '#b86b85',
    500: '#942756',
    950: '#000000',
  },
}
SCSS
$custom: #942756;
$custom-light: #b86b85;
$custom-dark: #000000;
JSON
{
  "hex": "#942756",
  "rgb": {
    "r": 148,
    "g": 39,
    "b": 86
  },
  "hsl": {
    "h": 334.128,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45792,
    "c": 0.14957,
    "h": 358.7
  },
  "luminance": 0.08419
}

Semantic roles & 50–950 ramp

primary
#942756
secondary
#5CBB92
accent
#E29F46
background
#FBF6F8
surface
#F7ECEF
border
#D0C7CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #942756

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

Preview Lab → · Contrast checker → · Palette generator →

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