#762158#762158

#762158 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.133 H 345.0°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#762158
RGBrgb(118, 33, 88)
HSLhsl(321, 56%, 30%)
HSVhsv(321, 72%, 46%)
CMYKcmyk(0%, 72%, 25.4%, 53.7%)
CIE-LABlab(28.50, 42.47, -12.93)
CIE-LCHlch(28.50, 44.40, 343.07°)
OKLaboklab(40.11% 0.1283 -0.0343)
OKLCHoklch(40.11% 0.133 345)
XYZxyz(9.7769, 5.6448, 9.8053)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762158 #21763F
analogous
#692176 #762158 #76212E
triadic
#762158 #587621 #215876
tetradic
#762158 #766921 #21763F #212E76
square
#762158 #766921 #21763F #212E76
split-complementary
#762158 #2E7621 #217669
monochromatic
#180712 #461434 #762158 #A62E7C #CB469C

Accessibility & contrast

On white

9.86
#762158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#762158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762158
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762158#FFFFFF#000000##FFFFFF
##7621581.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3A5A
Deuteranopia (green-blind)
#444856
Tritanopia (blue-blind)
#7E2039
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #762158;
/* rgb */ color: rgb(118, 33, 88);
/* oklch */ color: oklch(40.1% 0.133 345.0);
Tailwind
colors: {
  custom: {
    50: '#a16487',
    500: '#762158',
    950: '#000000',
  },
}
SCSS
$custom: #762158;
$custom-light: #a16487;
$custom-dark: #000000;
JSON
{
  "hex": "#762158",
  "rgb": {
    "r": 118,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 321.176,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40113,
    "c": 0.13278,
    "h": 345
  },
  "luminance": 0.05644
}

Semantic roles & 50–950 ramp

primary
#762158
secondary
#4AA96B
accent
#E07E48
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #762158

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

Preview Lab → · Contrast checker → · Palette generator →

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