#942062#942062

#942062 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.163 H 350.9°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#942062
RGBrgb(148, 32, 98)
HSLhsl(326, 64%, 35%)
HSVhsv(326, 78%, 58%)
CMYKcmyk(0%, 78.4%, 33.8%, 42%)
CIE-LABlab(34.42, 52.47, -9.88)
CIE-LCHlch(34.42, 53.40, 349.33°)
OKLaboklab(45.62% 0.1607 -0.0257)
OKLCHoklch(45.62% 0.163 350.9)
XYZxyz(14.9347, 8.2125, 12.3516)
Luminance0.0821 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942062 #209452
analogous
#8C2094 #942062 #942028
triadic
#942062 #629420 #206294
tetradic
#942062 #948C20 #209452 #202894
square
#942062 #948C20 #209452 #202894
split-complementary
#942062 #289420 #20948C
monochromatic
#2F0A1F #621541 #942062 #C62B83 #DA54A0

Accessibility & contrast

On white

7.95
#942062 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#942062 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942062
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942062#FFFFFF#000000##FFFFFF
##9420621.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354464
Deuteranopia (green-blind)
#56585F
Tritanopia (blue-blind)
#9F163E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #942062;
/* rgb */ color: rgb(148, 32, 98);
/* oklch */ color: oklch(45.6% 0.163 350.9);
Tailwind
colors: {
  custom: {
    50: '#b8688e',
    500: '#942062',
    950: '#000000',
  },
}
SCSS
$custom: #942062;
$custom-light: #b8688e;
$custom-dark: #000000;
JSON
{
  "hex": "#942062",
  "rgb": {
    "r": 148,
    "g": 32,
    "b": 98
  },
  "hsl": {
    "h": 325.862,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45622,
    "c": 0.16278,
    "h": 350.9
  },
  "luminance": 0.08211
}

Semantic roles & 50–950 ramp

primary
#942062
secondary
#52BE80
accent
#E78840
background
#FBF6F8
surface
#F7EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #942062

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

Preview Lab → · Contrast checker → · Palette generator →

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