#C162AC#C162AC

#C162AC is a light, vivid pink. Relative luminance 0.231; OKLCH L 63.3% C 0.151 H 336.2°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#C162AC
RGBrgb(193, 98, 172)
HSLhsl(313, 43%, 57%)
HSVhsv(313, 49%, 76%)
CMYKcmyk(0%, 49.2%, 10.9%, 24.3%)
CIE-LABlab(55.13, 47.68, -22.60)
CIE-LCHlch(55.13, 52.76, 334.64°)
OKLaboklab(63.26% 0.1385 -0.061)
OKLCHoklch(63.26% 0.151 336.2)
XYZxyz(33.8065, 23.0537, 41.6909)
Luminance0.2305 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162AC #62C177
analogous
#A762C1 #C162AC #C1627D
triadic
#C162AC #ACC162 #62ACC1
tetradic
#C162AC #C1A762 #62C177 #627DC1
square
#C162AC #C1A762 #62C177 #627DC1
split-complementary
#C162AC #7DC162 #62C1A7
monochromatic
#793069 #A5418F #C162AC #D28EC3 #E4BADA

Accessibility & contrast

On white

3.74
#C162AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#C162AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162AC
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162AC#FFFFFF#000000##000000
##C162AC1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#637BAF
Deuteranopia (green-blind)
#7E89A9
Tritanopia (blue-blind)
#C9667F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c162ac;
/* rgb */ color: rgb(193, 98, 172);
/* oklch */ color: oklch(63.3% 0.151 336.2);
Tailwind
colors: {
  custom: {
    50: '#d692c5',
    500: '#c162ac',
    950: '#000000',
  },
}
SCSS
$custom: #c162ac;
$custom-light: #d692c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c162ac",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 172
  },
  "hsl": {
    "h": 313.263,
    "s": 43.379,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63256,
    "c": 0.15129,
    "h": 336.2
  },
  "luminance": 0.23051
}

Semantic roles & 50–950 ramp

primary
#C162AC
secondary
#ACD3B5
accent
#D37155
background
#FDF9FC
surface
#FAF1F8
border
#D3CBD1
text
#150D12
muted
#837E81

Preview Lab

Preview with #C162AC

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

Preview Lab → · Contrast checker → · Palette generator →

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