#942057#942057

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

Color values

HEX#942057
RGBrgb(148, 32, 87)
HSLhsl(332, 64%, 35%)
HSVhsv(332, 78%, 58%)
CMYKcmyk(0%, 78.4%, 41.2%, 42%)
CIE-LABlab(34.02, 51.25, -3.39)
CIE-LCHlch(34.02, 51.36, 356.22°)
OKLaboklab(45.2% 0.1575 -0.0083)
OKLCHoklch(45.2% 0.158 357)
XYZxyz(14.4506, 8.0189, 9.8018)
Luminance0.0802 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942057 #20945D
analogous
#942091 #942057 #942320
triadic
#942057 #579420 #205794
tetradic
#942057 #919420 #20945D #232094
square
#942057 #919420 #20945D #232094
split-complementary
#942057 #209423 #209194
monochromatic
#2F0A1C #621539 #942057 #C62B75 #DA5494

Accessibility & contrast

On white

8.07
#942057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #942057
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942057#FFFFFF#000000##FFFFFF
##9420571.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394258
Deuteranopia (green-blind)
#595854
Tritanopia (blue-blind)
#A00E39
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #942057;
/* rgb */ color: rgb(148, 32, 87);
/* oklch */ color: oklch(45.2% 0.158 357.0);
Tailwind
colors: {
  custom: {
    50: '#b86886',
    500: '#942057',
    950: '#000000',
  },
}
SCSS
$custom: #942057;
$custom-light: #b86886;
$custom-dark: #000000;
JSON
{
  "hex": "#942057",
  "rgb": {
    "r": 148,
    "g": 32,
    "b": 87
  },
  "hsl": {
    "h": 331.552,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45199,
    "c": 0.15775,
    "h": 357
  },
  "luminance": 0.08017
}

Semantic roles & 50–950 ramp

primary
#942057
secondary
#52BE8B
accent
#E79840
background
#FBF6F8
surface
#F7EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #942057

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

Preview Lab → · Contrast checker → · Palette generator →

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