#942856#942856

#942856 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.9% C 0.148 H 358.9°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#942856
RGBrgb(148, 40, 86)
HSLhsl(334, 57%, 37%)
HSVhsv(334, 73%, 58%)
CMYKcmyk(0%, 73%, 41.9%, 42%)
CIE-LABlab(34.98, 48.37, -1.34)
CIE-LCHlch(34.98, 48.38, 358.42°)
OKLaboklab(45.89% 0.1483 -0.0029)
OKLCHoklch(45.89% 0.148 358.9)
XYZxyz(14.6523, 8.4872, 9.6689)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942856 #289466
analogous
#94288C #942856 #943028
triadic
#942856 #569428 #285694
tetradic
#942856 #8C9428 #289466 #302894
square
#942856 #8C9428 #289466 #302894
split-complementary
#942856 #289430 #288C94
monochromatic
#340E1E #641B3A #942856 #C43572 #D56293

Accessibility & contrast

On white

7.79
#942856 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#942856 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942856
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942856#FFFFFF#000000##FFFFFF
##9428561.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4557
Deuteranopia (green-blind)
#5C5A53
Tritanopia (blue-blind)
#A01A3B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #942856;
/* rgb */ color: rgb(148, 40, 86);
/* oklch */ color: oklch(45.9% 0.148 358.9);
Tailwind
colors: {
  custom: {
    50: '#b86b85',
    500: '#942856',
    950: '#000000',
  },
}
SCSS
$custom: #942856;
$custom-light: #b86b85;
$custom-dark: #000000;
JSON
{
  "hex": "#942856",
  "rgb": {
    "r": 148,
    "g": 40,
    "b": 86
  },
  "hsl": {
    "h": 334.444,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4589,
    "c": 0.14837,
    "h": 358.9
  },
  "luminance": 0.08485
}

Semantic roles & 50–950 ramp

primary
#942856
secondary
#5EBA93
accent
#E19F47
background
#FBF6F8
surface
#F7ECEF
border
#D0C7CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #942856

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

Preview Lab → · Contrast checker → · Palette generator →

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