#762262#762262

#762262 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.7% C 0.138 H 338.8°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#762262
RGBrgb(118, 34, 98)
HSLhsl(314, 55%, 30%)
HSVhsv(314, 71%, 46%)
CMYKcmyk(0%, 71.2%, 16.9%, 53.7%)
CIE-LABlab(29.10, 43.57, -18.52)
CIE-LCHlch(29.10, 47.34, 336.97°)
OKLaboklab(40.71% 0.129 -0.0501)
OKLCHoklch(40.71% 0.138 338.8)
XYZxyz(10.2481, 5.8784, 12.1478)
Luminance0.0588 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762262 #227636
analogous
#602276 #762262 #762238
triadic
#762262 #627622 #226276
tetradic
#762262 #766022 #227636 #223876
square
#762262 #766022 #227636 #223876
split-complementary
#762262 #387622 #227660
monochromatic
#180714 #46143B #762262 #A63089 #CA48AB

Accessibility & contrast

On white

9.65
#762262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#762262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762262
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762262#FFFFFF#000000##FFFFFF
##7622621.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263C64
Deuteranopia (green-blind)
#414960
Tritanopia (blue-blind)
#7D253F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #762262;
/* rgb */ color: rgb(118, 34, 98);
/* oklch */ color: oklch(40.7% 0.138 338.8);
Tailwind
colors: {
  custom: {
    50: '#a0658f',
    500: '#762262',
    950: '#000000',
  },
}
SCSS
$custom: #762262;
$custom-light: #a0658f;
$custom-dark: #000000;
JSON
{
  "hex": "#762262",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 98
  },
  "hsl": {
    "h": 314.286,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40705,
    "c": 0.1384,
    "h": 338.8
  },
  "luminance": 0.05877
}

Semantic roles & 50–950 ramp

primary
#762262
secondary
#4BA961
accent
#DF6D49
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #762262

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

Preview Lab → · Contrast checker → · Palette generator →

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