#942962#942962

#942962 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.4% C 0.152 H 352.0°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#942962
RGBrgb(148, 41, 98)
HSLhsl(328, 57%, 37%)
HSVhsv(328, 72%, 58%)
CMYKcmyk(0%, 72.3%, 33.8%, 42%)
CIE-LABlab(35.53, 49.36, -8.21)
CIE-LCHlch(35.53, 50.04, 350.55°)
OKLaboklab(46.43% 0.1509 -0.0212)
OKLCHoklch(46.43% 0.152 352)
XYZxyz(15.2111, 8.7654, 12.4437)
Luminance0.0876 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942962 #29945B
analogous
#912994 #942962 #94292D
triadic
#942962 #629429 #296294
tetradic
#942962 #949129 #29945B #292D94
square
#942962 #949129 #29945B #292D94
split-complementary
#942962 #2D9429 #299491
monochromatic
#340E23 #641C42 #942962 #C43682 #D4639F

Accessibility & contrast

On white

7.63
#942962 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#942962 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942962
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942962#FFFFFF#000000##FFFFFF
##9429621.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4764
Deuteranopia (green-blind)
#595B60
Tritanopia (blue-blind)
#9F2142
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #942962;
/* rgb */ color: rgb(148, 41, 98);
/* oklch */ color: oklch(46.4% 0.152 352.0);
Tailwind
colors: {
  custom: {
    50: '#b76c8e',
    500: '#942962',
    950: '#000000',
  },
}
SCSS
$custom: #942962;
$custom-light: #b76c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#942962",
  "rgb": {
    "r": 148,
    "g": 41,
    "b": 98
  },
  "hsl": {
    "h": 328.037,
    "s": 56.614,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46431,
    "c": 0.15241,
    "h": 352
  },
  "luminance": 0.08764
}

Semantic roles & 50–950 ramp

primary
#942962
secondary
#5FBA89
accent
#E08F48
background
#FBF6F8
surface
#F7ECF0
border
#D0C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #942962

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

Preview Lab → · Contrast checker → · Palette generator →

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