#C162B1#C162B1

#C162B1 is a light, vivid pink. Relative luminance 0.232; OKLCH L 63.5% C 0.155 H 333.9°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#C162B1
RGBrgb(193, 98, 177)
HSLhsl(310, 43%, 57%)
HSVhsv(310, 49%, 76%)
CMYKcmyk(0%, 49.2%, 8.3%, 24.3%)
CIE-LABlab(55.33, 48.51, -25.18)
CIE-LCHlch(55.33, 54.66, 332.57°)
OKLaboklab(63.47% 0.1396 -0.0683)
OKLCHoklch(63.47% 0.155 333.9)
XYZxyz(34.2958, 23.2494, 44.2676)
Luminance0.2325 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162B1 #62C172
analogous
#A162C1 #C162B1 #C16282
triadic
#C162B1 #B1C162 #62B1C1
tetradic
#C162B1 #C1A162 #62C172 #6282C1
square
#C162B1 #C1A162 #62C172 #6282C1
split-complementary
#C162B1 #82C162 #62C1A1
monochromatic
#79306D #A54194 #C162B1 #D28EC7 #E4BADD

Accessibility & contrast

On white

3.72
#C162B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#C162B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162B1
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162B1#FFFFFF#000000##000000
##C162B11.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#617CB4
Deuteranopia (green-blind)
#7C8AAE
Tritanopia (blue-blind)
#C96781
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c162b1;
/* rgb */ color: rgb(193, 98, 177);
/* oklch */ color: oklch(63.5% 0.155 333.9);
Tailwind
colors: {
  custom: {
    50: '#d692c8',
    500: '#c162b1',
    950: '#000000',
  },
}
SCSS
$custom: #c162b1;
$custom-light: #d692c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c162b1",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 177
  },
  "hsl": {
    "h": 310.105,
    "s": 43.379,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63471,
    "c": 0.15537,
    "h": 333.9
  },
  "luminance": 0.23247
}

Semantic roles & 50–950 ramp

primary
#C162B1
secondary
#ACD3B3
accent
#D36A55
background
#FDF9FC
surface
#FAF1F8
border
#D3CBD1
text
#150D13
muted
#837E82

Preview Lab

Preview with #C162B1

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

Preview Lab → · Contrast checker → · Palette generator →

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