#942E80#942E80

#942E80 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.3% C 0.165 H 336.6°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#942E80
RGBrgb(148, 46, 128)
HSLhsl(312, 53%, 38%)
HSVhsv(312, 69%, 58%)
CMYKcmyk(0%, 68.9%, 13.5%, 42%)
CIE-LABlab(37.50, 51.59, -24.06)
CIE-LCHlch(37.50, 56.93, 334.99°)
OKLaboklab(48.29% 0.1514 -0.0654)
OKLCHoklch(48.29% 0.165 336.6)
XYZxyz(17.0863, 9.8099, 21.4115)
Luminance0.0981 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E80 #2E9442
analogous
#752E94 #942E80 #942E4D
triadic
#942E80 #80942E #2E8094
tetradic
#942E80 #94752E #2E9442 #2E4D94
square
#942E80 #94752E #2E9442 #2E4D94
split-complementary
#942E80 #4D942E #2E9475
monochromatic
#37112F #651F58 #942E80 #C33DA8 #D16BBD

Accessibility & contrast

On white

7.09
#942E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#942E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942E80
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E80#FFFFFF#000000##FFFFFF
##942E801.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304E82
Deuteranopia (green-blind)
#515E7D
Tritanopia (blue-blind)
#9C3453
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #942e80;
/* rgb */ color: rgb(148, 46, 128);
/* oklch */ color: oklch(48.3% 0.165 336.6);
Tailwind
colors: {
  custom: {
    50: '#b76fa5',
    500: '#942e80',
    950: '#000000',
  },
}
SCSS
$custom: #942e80;
$custom-light: #b76fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#942e80",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 128
  },
  "hsl": {
    "h": 311.765,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48287,
    "c": 0.1649,
    "h": 336.6
  },
  "luminance": 0.09808
}

Semantic roles & 50–950 ramp

primary
#942E80
secondary
#66B876
accent
#DC684C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #942E80

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

Preview Lab → · Contrast checker → · Palette generator →

#942E80 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva