#942074#942074

#942074 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.4% C 0.173 H 341.8°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#942074
RGBrgb(148, 32, 116)
HSLhsl(317, 64%, 35%)
HSVhsv(317, 78%, 58%)
CMYKcmyk(0%, 78.4%, 21.6%, 42%)
CIE-LABlab(35.19, 54.77, -20.16)
CIE-LCHlch(35.19, 58.36, 339.79°)
OKLaboklab(46.43% 0.1645 -0.0542)
OKLCHoklch(46.43% 0.173 341.8)
XYZxyz(15.8822, 8.5915, 17.3415)
Luminance0.0859 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942074 #209440
analogous
#7A2094 #942074 #94203A
triadic
#942074 #749420 #207494
tetradic
#942074 #947A20 #209440 #203A94
square
#942074 #947A20 #209440 #203A94
split-complementary
#942074 #3A9420 #20947A
monochromatic
#2F0A25 #62154D #942074 #C62B9B #DA54B5

Accessibility & contrast

On white

7.73
#942074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#942074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942074
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942074#FFFFFF#000000##FFFFFF
##9420741.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4776
Deuteranopia (green-blind)
#515971
Tritanopia (blue-blind)
#9D2248
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #942074;
/* rgb */ color: rgb(148, 32, 116);
/* oklch */ color: oklch(46.4% 0.173 341.8);
Tailwind
colors: {
  custom: {
    50: '#b7699c',
    500: '#942074',
    950: '#000000',
  },
}
SCSS
$custom: #942074;
$custom-light: #b7699c;
$custom-dark: #000000;
JSON
{
  "hex": "#942074",
  "rgb": {
    "r": 148,
    "g": 32,
    "b": 116
  },
  "hsl": {
    "h": 316.552,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46426,
    "c": 0.17322,
    "h": 341.8
  },
  "luminance": 0.0859
}

Semantic roles & 50–950 ramp

primary
#942074
secondary
#52BE70
accent
#E76E40
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #942074

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

Preview Lab → · Contrast checker → · Palette generator →

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