#942E70#942E70

#942E70 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.5% C 0.154 H 344.8°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#942E70
RGBrgb(148, 46, 112)
HSLhsl(321, 53%, 38%)
HSVhsv(321, 69%, 58%)
CMYKcmyk(0%, 68.9%, 24.3%, 42%)
CIE-LABlab(36.78, 49.22, -15.18)
CIE-LCHlch(36.78, 51.51, 342.86°)
OKLaboklab(47.53% 0.1484 -0.0404)
OKLCHoklch(47.53% 0.154 344.8)
XYZxyz(16.1150, 9.4214, 16.2959)
Luminance0.0942 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E70 #2E9452
analogous
#852E94 #942E70 #942E3D
triadic
#942E70 #70942E #2E7094
tetradic
#942E70 #94852E #2E9452 #2E3D94
square
#942E70 #94852E #2E9452 #2E3D94
split-complementary
#942E70 #3D942E #2E9485
monochromatic
#371129 #651F4D #942E70 #C33D93 #D16BAD

Accessibility & contrast

On white

7.28
#942E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#942E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942E70
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E70#FFFFFF#000000##FFFFFF
##942E701.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394C72
Deuteranopia (green-blind)
#575D6E
Tritanopia (blue-blind)
#9E2D4B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #942e70;
/* rgb */ color: rgb(148, 46, 112);
/* oklch */ color: oklch(47.5% 0.154 344.8);
Tailwind
colors: {
  custom: {
    50: '#b76f99',
    500: '#942e70',
    950: '#000000',
  },
}
SCSS
$custom: #942e70;
$custom-light: #b76f99;
$custom-dark: #000000;
JSON
{
  "hex": "#942e70",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 112
  },
  "hsl": {
    "h": 321.176,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47531,
    "c": 0.15383,
    "h": 344.8
  },
  "luminance": 0.0942
}

Semantic roles & 50–950 ramp

primary
#942E70
secondary
#66B883
accent
#DC7F4C
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #942E70

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

Preview Lab → · Contrast checker → · Palette generator →

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