#762157#762157

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

Color values

HEX#762157
RGBrgb(118, 33, 87)
HSLhsl(322, 56%, 30%)
HSVhsv(322, 72%, 46%)
CMYKcmyk(0%, 72%, 26.3%, 53.7%)
CIE-LABlab(28.45, 42.33, -12.33)
CIE-LCHlch(28.45, 44.09, 343.75°)
OKLaboklab(40.07% 0.128 -0.0327)
OKLCHoklch(40.07% 0.132 345.7)
XYZxyz(9.7358, 5.6284, 9.5886)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762157 #217640
analogous
#6A2176 #762157 #76212D
triadic
#762157 #577621 #215776
tetradic
#762157 #766A21 #217640 #212D76
square
#762157 #766A21 #217640 #212D76
split-complementary
#762157 #2D7621 #21766A
monochromatic
#180712 #461434 #762157 #A62E7A #CB469B

Accessibility & contrast

On white

9.88
#762157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762157
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762157#FFFFFF#000000##FFFFFF
##7621571.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3A59
Deuteranopia (green-blind)
#444855
Tritanopia (blue-blind)
#7E1F39
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #762157;
/* rgb */ color: rgb(118, 33, 87);
/* oklch */ color: oklch(40.1% 0.132 345.7);
Tailwind
colors: {
  custom: {
    50: '#a16486',
    500: '#762157',
    950: '#000000',
  },
}
SCSS
$custom: #762157;
$custom-light: #a16486;
$custom-dark: #000000;
JSON
{
  "hex": "#762157",
  "rgb": {
    "r": 118,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 321.882,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40068,
    "c": 0.13213,
    "h": 345.7
  },
  "luminance": 0.05627
}

Semantic roles & 50–950 ramp

primary
#762157
secondary
#4AA96C
accent
#E07F48
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #762157

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

Preview Lab → · Contrast checker → · Palette generator →

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