#942071#942071

#942071 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.3% C 0.171 H 343.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#942071
RGBrgb(148, 32, 113)
HSLhsl(318, 64%, 35%)
HSVhsv(318, 78%, 58%)
CMYKcmyk(0%, 78.4%, 23.6%, 42%)
CIE-LABlab(35.05, 54.36, -18.48)
CIE-LCHlch(35.05, 57.42, 341.23°)
OKLaboklab(46.28% 0.164 -0.0495)
OKLCHoklch(46.28% 0.171 343.2)
XYZxyz(15.7105, 8.5229, 16.4373)
Luminance0.0852 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942071 #209443
analogous
#7D2094 #942071 #942037
triadic
#942071 #719420 #207194
tetradic
#942071 #947D20 #209443 #203794
square
#942071 #947D20 #209443 #203794
split-complementary
#942071 #379420 #20947D
monochromatic
#2F0A24 #62154B #942071 #C62B97 #DA54B2

Accessibility & contrast

On white

7.77
#942071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#942071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942071
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942071#FFFFFF#000000##FFFFFF
##9420711.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4673
Deuteranopia (green-blind)
#52596E
Tritanopia (blue-blind)
#9E2046
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #942071;
/* rgb */ color: rgb(148, 32, 113);
/* oklch */ color: oklch(46.3% 0.171 343.2);
Tailwind
colors: {
  custom: {
    50: '#b7699a',
    500: '#942071',
    950: '#000000',
  },
}
SCSS
$custom: #942071;
$custom-light: #b7699a;
$custom-dark: #000000;
JSON
{
  "hex": "#942071",
  "rgb": {
    "r": 148,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 318.103,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46283,
    "c": 0.17133,
    "h": 343.2
  },
  "luminance": 0.08521
}

Semantic roles & 50–950 ramp

primary
#942071
secondary
#52BE73
accent
#E77340
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #942071

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

Preview Lab → · Contrast checker → · Palette generator →

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