#942371#942371

#942371 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.168 H 343.4°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#942371
RGBrgb(148, 35, 113)
HSLhsl(319, 62%, 36%)
HSVhsv(319, 76%, 58%)
CMYKcmyk(0%, 76.4%, 23.6%, 42%)
CIE-LABlab(35.38, 53.41, -17.96)
CIE-LCHlch(35.38, 56.35, 341.41°)
OKLaboklab(46.53% 0.1611 -0.048)
OKLCHoklch(46.53% 0.168 343.4)
XYZxyz(15.7950, 8.6919, 16.4655)
Luminance0.0869 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942371 #239446
analogous
#7E2394 #942371 #942338
triadic
#942371 #719423 #237194
tetradic
#942371 #947E23 #239446 #233894
square
#942371 #947E23 #239446 #233894
split-complementary
#942371 #389423 #23947E
monochromatic
#310C25 #63174B #942371 #C52F97 #D85AB1

Accessibility & contrast

On white

7.67
#942371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#942371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942371
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942371#FFFFFF#000000##FFFFFF
##9423711.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4773
Deuteranopia (green-blind)
#535A6E
Tritanopia (blue-blind)
#9E2347
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #942371;
/* rgb */ color: rgb(148, 35, 113);
/* oklch */ color: oklch(46.5% 0.168 343.4);
Tailwind
colors: {
  custom: {
    50: '#b76a9a',
    500: '#942371',
    950: '#000000',
  },
}
SCSS
$custom: #942371;
$custom-light: #b76a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#942371",
  "rgb": {
    "r": 148,
    "g": 35,
    "b": 113
  },
  "hsl": {
    "h": 318.584,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46526,
    "c": 0.1681,
    "h": 343.4
  },
  "luminance": 0.0869
}

Semantic roles & 50–950 ramp

primary
#942371
secondary
#57BC76
accent
#E57543
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #942371

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

Preview Lab → · Contrast checker → · Palette generator →

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