#942151#942151

#942151 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.154 H 0.6°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#942151
RGBrgb(148, 33, 81)
HSLhsl(335, 64%, 35%)
HSVhsv(335, 78%, 58%)
CMYKcmyk(0%, 77.7%, 45.3%, 42%)
CIE-LABlab(33.94, 50.32, 0.38)
CIE-LCHlch(33.94, 50.32, 0.44°)
OKLaboklab(45.08% 0.1545 0.0016)
OKLCHoklch(45.08% 0.154 0.6)
XYZxyz(14.2429, 7.9796, 8.5732)
Luminance0.0798 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942151 #219464
analogous
#94218A #942151 #942B21
triadic
#942151 #519421 #215194
tetradic
#942151 #8A9421 #219464 #2B2194
square
#942151 #8A9421 #219464 #2B2194
split-complementary
#942151 #21942B #218A94
monochromatic
#300B1A #621636 #942151 #C62C6C #D9568D

Accessibility & contrast

On white

8.09
#942151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #942151
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942151#FFFFFF#000000##FFFFFF
##9421511.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4252
Deuteranopia (green-blind)
#5A584E
Tritanopia (blue-blind)
#A10A36
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #942151;
/* rgb */ color: rgb(148, 33, 81);
/* oklch */ color: oklch(45.1% 0.154 0.6);
Tailwind
colors: {
  custom: {
    50: '#b96881',
    500: '#942151',
    950: '#000000',
  },
}
SCSS
$custom: #942151;
$custom-light: #b96881;
$custom-dark: #000000;
JSON
{
  "hex": "#942151",
  "rgb": {
    "r": 148,
    "g": 33,
    "b": 81
  },
  "hsl": {
    "h": 334.957,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45075,
    "c": 0.15449,
    "h": 0.6
  },
  "luminance": 0.07978
}

Semantic roles & 50–950 ramp

primary
#942151
secondary
#54BD91
accent
#E7A241
background
#FBF6F7
surface
#F7EBEE
border
#D0C6C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #942151

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

Preview Lab → · Contrast checker → · Palette generator →

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