#942874#942874

#942874 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.1% C 0.164 H 342.2°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#942874
RGBrgb(148, 40, 116)
HSLhsl(318, 57%, 37%)
HSVhsv(318, 73%, 58%)
CMYKcmyk(0%, 73%, 21.6%, 42%)
CIE-LABlab(36.13, 52.09, -18.70)
CIE-LCHlch(36.13, 55.35, 340.25°)
OKLaboklab(47.11% 0.1563 -0.0501)
OKLCHoklch(47.11% 0.164 342.2)
XYZxyz(16.1244, 9.0761, 17.4223)
Luminance0.0907 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942874 #289448
analogous
#7E2894 #942874 #94283E
triadic
#942874 #749428 #287494
tetradic
#942874 #947E28 #289448 #283E94
square
#942874 #947E28 #289448 #283E94
split-complementary
#942874 #3E9428 #28947E
monochromatic
#340E28 #641B4E #942874 #C4359A #D562B3

Accessibility & contrast

On white

7.46
#942874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#942874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942874
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942874#FFFFFF#000000##FFFFFF
##9428741.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324A76
Deuteranopia (green-blind)
#535B71
Tritanopia (blue-blind)
#9D294A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #942874;
/* rgb */ color: rgb(148, 40, 116);
/* oklch */ color: oklch(47.1% 0.164 342.2);
Tailwind
colors: {
  custom: {
    50: '#b76c9c',
    500: '#942874',
    950: '#000000',
  },
}
SCSS
$custom: #942874;
$custom-light: #b76c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#942874",
  "rgb": {
    "r": 148,
    "g": 40,
    "b": 116
  },
  "hsl": {
    "h": 317.778,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47111,
    "c": 0.16418,
    "h": 342.2
  },
  "luminance": 0.09074
}

Semantic roles & 50–950 ramp

primary
#942874
secondary
#5EBA79
accent
#E17547
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #942874

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

Preview Lab → · Contrast checker → · Palette generator →

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