#C762B2#C762B2

#C762B2 is a light, vivid pink. Relative luminance 0.241; OKLCH L 64.3% C 0.161 H 335.8°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#C762B2
RGBrgb(199, 98, 178)
HSLhsl(312, 47%, 58%)
HSVhsv(312, 51%, 78%)
CMYKcmyk(0%, 50.8%, 10.6%, 22%)
CIE-LABlab(56.18, 50.49, -24.38)
CIE-LCHlch(56.18, 56.07, 334.23°)
OKLaboklab(64.29% 0.1465 -0.0659)
OKLCHoklch(64.29% 0.161 335.8)
XYZxyz(35.9569, 24.0943, 44.8677)
Luminance0.2409 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C762B2 #62C777
analogous
#A962C7 #C762B2 #C7627F
triadic
#C762B2 #B2C762 #62B2C7
tetradic
#C762B2 #C7A962 #62C777 #627FC7
square
#C762B2 #C7A962 #62C777 #627FC7
split-complementary
#C762B2 #7FC762 #62C7A9
monochromatic
#812E6F #AE3E97 #C762B2 #D78FC8 #E7BCDE

Accessibility & contrast

On white

3.61
#C762B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#C762B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C762B2
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C762B2#FFFFFF#000000##000000
##C762B21.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#637DB5
Deuteranopia (green-blind)
#7F8CAF
Tritanopia (blue-blind)
#D06782
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c762b2;
/* rgb */ color: rgb(199, 98, 178);
/* oklch */ color: oklch(64.3% 0.161 335.8);
Tailwind
colors: {
  custom: {
    50: '#da92c9',
    500: '#c762b2',
    950: '#000000',
  },
}
SCSS
$custom: #c762b2;
$custom-light: #da92c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c762b2",
  "rgb": {
    "r": 199,
    "g": 98,
    "b": 178
  },
  "hsl": {
    "h": 312.475,
    "s": 47.418,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64287,
    "c": 0.16064,
    "h": 335.8
  },
  "luminance": 0.24092
}

Semantic roles & 50–950 ramp

primary
#C762B2
secondary
#AED7B7
accent
#D76D51
background
#FDF9FC
surface
#FBF1F8
border
#D4CBD1
text
#150D13
muted
#837E82

Preview Lab

Preview with #C762B2

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

Preview Lab → · Contrast checker → · Palette generator →

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