#942056#942056

#942056 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.2% C 0.157 H 357.6°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#942056
RGBrgb(148, 32, 86)
HSLhsl(332, 64%, 35%)
HSVhsv(332, 78%, 58%)
CMYKcmyk(0%, 78.4%, 41.9%, 42%)
CIE-LABlab(33.99, 51.14, -2.79)
CIE-LCHlch(33.99, 51.22, 356.88°)
OKLaboklab(45.16% 0.1572 -0.0067)
OKLCHoklch(45.16% 0.157 357.6)
XYZxyz(14.4100, 8.0027, 9.5881)
Luminance0.0800 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942056 #20945E
analogous
#942090 #942056 #942420
triadic
#942056 #569420 #205694
tetradic
#942056 #909420 #20945E #242094
square
#942056 #909420 #20945E #242094
split-complementary
#942056 #209424 #209094
monochromatic
#2F0A1C #621539 #942056 #C62B73 #DA5493

Accessibility & contrast

On white

8.08
#942056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#942056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942056
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942056#FFFFFF#000000##FFFFFF
##9420561.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394257
Deuteranopia (green-blind)
#595853
Tritanopia (blue-blind)
#A10D38
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #942056;
/* rgb */ color: rgb(148, 32, 86);
/* oklch */ color: oklch(45.2% 0.157 357.6);
Tailwind
colors: {
  custom: {
    50: '#b86885',
    500: '#942056',
    950: '#000000',
  },
}
SCSS
$custom: #942056;
$custom-light: #b86885;
$custom-dark: #000000;
JSON
{
  "hex": "#942056",
  "rgb": {
    "r": 148,
    "g": 32,
    "b": 86
  },
  "hsl": {
    "h": 332.069,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45164,
    "c": 0.15734,
    "h": 357.6
  },
  "luminance": 0.08001
}

Semantic roles & 50–950 ramp

primary
#942056
secondary
#52BE8C
accent
#E79A40
background
#FBF6F8
surface
#F7EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #942056

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

Preview Lab → · Contrast checker → · Palette generator →

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