#942855#942855

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

Color values

HEX#942855
RGBrgb(148, 40, 85)
HSLhsl(335, 57%, 37%)
HSVhsv(335, 73%, 58%)
CMYKcmyk(0%, 73%, 42.6%, 42%)
CIE-LABlab(34.95, 48.26, -0.74)
CIE-LCHlch(34.95, 48.27, 359.12°)
OKLaboklab(45.86% 0.148 -0.0014)
OKLCHoklch(45.86% 0.148 359.5)
XYZxyz(14.6123, 8.4712, 9.4582)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942855 #289467
analogous
#94288B #942855 #943128
triadic
#942855 #559428 #285594
tetradic
#942855 #8B9428 #289467 #312894
square
#942855 #8B9428 #289467 #312894
split-complementary
#942855 #289431 #288B94
monochromatic
#340E1E #641B39 #942855 #C43571 #D56292

Accessibility & contrast

On white

7.80
#942855 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#942855 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942855
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942855#FFFFFF#000000##FFFFFF
##9428551.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4556
Deuteranopia (green-blind)
#5C5A52
Tritanopia (blue-blind)
#A0193B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #942855;
/* rgb */ color: rgb(148, 40, 85);
/* oklch */ color: oklch(45.9% 0.148 359.5);
Tailwind
colors: {
  custom: {
    50: '#b86b84',
    500: '#942855',
    950: '#000000',
  },
}
SCSS
$custom: #942855;
$custom-light: #b86b84;
$custom-dark: #000000;
JSON
{
  "hex": "#942855",
  "rgb": {
    "r": 148,
    "g": 40,
    "b": 85
  },
  "hsl": {
    "h": 335,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45856,
    "c": 0.14801,
    "h": 359.5
  },
  "luminance": 0.08469
}

Semantic roles & 50–950 ramp

primary
#942855
secondary
#5EBA94
accent
#E1A147
background
#FBF6F8
surface
#F7ECEF
border
#D0C7CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #942855

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

Preview Lab → · Contrast checker → · Palette generator →

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