#C162BB#C162BB

#C162BB is a light, vivid purple. Relative luminance 0.237; OKLCH L 63.9% C 0.164 H 329.7°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#C162BB
RGBrgb(193, 98, 187)
HSLhsl(304, 43%, 57%)
HSVhsv(304, 49%, 76%)
CMYKcmyk(0%, 49.2%, 3.1%, 24.3%)
CIE-LABlab(55.75, 50.24, -30.30)
CIE-LCHlch(55.75, 58.67, 328.91°)
OKLaboklab(63.92% 0.1416 -0.0828)
OKLCHoklch(63.92% 0.164 329.7)
XYZxyz(35.3293, 23.6627, 49.7106)
Luminance0.2366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162BB #62C168
analogous
#9762C1 #C162BB #C1628C
triadic
#C162BB #BBC162 #62BBC1
tetradic
#C162BB #C19762 #62C168 #628CC1
square
#C162BB #C19762 #62C168 #628CC1
split-complementary
#C162BB #8CC162 #62C197
monochromatic
#793074 #A5419E #C162BB #D28ECE #E4BAE1

Accessibility & contrast

On white

3.66
#C162BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#C162BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162BB
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162BB#FFFFFF#000000##000000
##C162BB1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7DBE
Deuteranopia (green-blind)
#788AB8
Tritanopia (blue-blind)
#C76A86
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c162bb;
/* rgb */ color: rgb(193, 98, 187);
/* oklch */ color: oklch(63.9% 0.164 329.7);
Tailwind
colors: {
  custom: {
    50: '#d692cf',
    500: '#c162bb',
    950: '#000000',
  },
}
SCSS
$custom: #c162bb;
$custom-light: #d692cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c162bb",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 303.789,
    "s": 43.379,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63921,
    "c": 0.16398,
    "h": 329.7
  },
  "luminance": 0.23661
}

Semantic roles & 50–950 ramp

primary
#C162BB
secondary
#ACD3AF
accent
#D35D55
background
#FDF9FC
surface
#FAF1F9
border
#D3CBD2
text
#150D14
muted
#837E82

Preview Lab

Preview with #C162BB

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

Preview Lab → · Contrast checker → · Palette generator →

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