#942157#942157

#942157 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.3% C 0.157 H 357.1°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#942157
RGBrgb(148, 33, 87)
HSLhsl(332, 64%, 35%)
HSVhsv(332, 78%, 58%)
CMYKcmyk(0%, 77.7%, 41.2%, 42%)
CIE-LABlab(34.14, 50.93, -3.22)
CIE-LCHlch(34.14, 51.03, 356.38°)
OKLaboklab(45.28% 0.1565 -0.0078)
OKLCHoklch(45.28% 0.157 357.1)
XYZxyz(14.4779, 8.0736, 9.8109)
Luminance0.0807 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942157 #21945E
analogous
#942190 #942157 #942421
triadic
#942157 #579421 #215794
tetradic
#942157 #909421 #21945E #242194
square
#942157 #909421 #21945E #242194
split-complementary
#942157 #219424 #219094
monochromatic
#300B1C #62163A #942157 #C62C74 #D95694

Accessibility & contrast

On white

8.03
#942157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#942157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942157
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942157#FFFFFF#000000##FFFFFF
##9421571.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #942157;
/* rgb */ color: rgb(148, 33, 87);
/* oklch */ color: oklch(45.3% 0.157 357.1);
Tailwind
colors: {
  custom: {
    50: '#b86886',
    500: '#942157',
    950: '#000000',
  },
}
SCSS
$custom: #942157;
$custom-light: #b86886;
$custom-dark: #000000;
JSON
{
  "hex": "#942157",
  "rgb": {
    "r": 148,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 331.826,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45282,
    "c": 0.1567,
    "h": 357.1
  },
  "luminance": 0.08072
}

Semantic roles & 50–950 ramp

primary
#942157
secondary
#54BD8C
accent
#E79941
background
#FBF6F8
surface
#F7EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #942157

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

Preview Lab → · Contrast checker → · Palette generator →

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