#C162AF#C162AF

#C162AF is a light, vivid pink. Relative luminance 0.232; OKLCH L 63.4% C 0.154 H 334.8°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#C162AF
RGBrgb(193, 98, 175)
HSLhsl(311, 43%, 57%)
HSVhsv(311, 49%, 76%)
CMYKcmyk(0%, 49.2%, 9.3%, 24.3%)
CIE-LABlab(55.25, 48.18, -24.15)
CIE-LCHlch(55.25, 53.89, 333.38°)
OKLaboklab(63.38% 0.1391 -0.0653)
OKLCHoklch(63.38% 0.154 334.8)
XYZxyz(34.0979, 23.1702, 43.2255)
Luminance0.2317 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162AF #62C174
analogous
#A362C1 #C162AF #C16280
triadic
#C162AF #AFC162 #62AFC1
tetradic
#C162AF #C1A362 #62C174 #6280C1
square
#C162AF #C1A362 #62C174 #6280C1
split-complementary
#C162AF #80C162 #62C1A3
monochromatic
#79306B #A54192 #C162AF #D28EC5 #E4BADC

Accessibility & contrast

On white

3.73
#C162AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#C162AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162AF
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162AF#FFFFFF#000000##000000
##C162AF1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#627BB2
Deuteranopia (green-blind)
#7C89AC
Tritanopia (blue-blind)
#C96780
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c162af;
/* rgb */ color: rgb(193, 98, 175);
/* oklch */ color: oklch(63.4% 0.154 334.8);
Tailwind
colors: {
  custom: {
    50: '#d692c7',
    500: '#c162af',
    950: '#000000',
  },
}
SCSS
$custom: #c162af;
$custom-light: #d692c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c162af",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 175
  },
  "hsl": {
    "h": 311.368,
    "s": 43.379,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63384,
    "c": 0.15372,
    "h": 334.8
  },
  "luminance": 0.23168
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C162AF

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

Preview Lab → · Contrast checker → · Palette generator →

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