#C162AB#C162AB

#C162AB is a light, vivid pink. Relative luminance 0.230; OKLCH L 63.2% C 0.150 H 336.7°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#C162AB
RGBrgb(193, 98, 171)
HSLhsl(314, 43%, 57%)
HSVhsv(314, 49%, 76%)
CMYKcmyk(0%, 49.2%, 11.4%, 24.3%)
CIE-LABlab(55.09, 47.51, -22.08)
CIE-LCHlch(55.09, 52.39, 335.08°)
OKLaboklab(63.21% 0.1382 -0.0595)
OKLCHoklch(63.21% 0.151 336.7)
XYZxyz(33.7109, 23.0154, 41.1870)
Luminance0.2301 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162AB #62C178
analogous
#A862C1 #C162AB #C1627C
triadic
#C162AB #ABC162 #62ABC1
tetradic
#C162AB #C1A862 #62C178 #627CC1
square
#C162AB #C1A862 #62C178 #627CC1
split-complementary
#C162AB #7CC162 #62C1A8
monochromatic
#793068 #A5418E #C162AB #D28EC2 #E4BADA

Accessibility & contrast

On white

3.75
#C162AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#C162AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162AB
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162AB#FFFFFF#000000##000000
##C162AB1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#647BAD
Deuteranopia (green-blind)
#7E89A8
Tritanopia (blue-blind)
#CA667F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c162ab;
/* rgb */ color: rgb(193, 98, 171);
/* oklch */ color: oklch(63.2% 0.150 336.7);
Tailwind
colors: {
  custom: {
    50: '#d692c4',
    500: '#c162ab',
    950: '#000000',
  },
}
SCSS
$custom: #c162ab;
$custom-light: #d692c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c162ab",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 171
  },
  "hsl": {
    "h": 313.895,
    "s": 43.379,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63213,
    "c": 0.1505,
    "h": 336.7
  },
  "luminance": 0.23013
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C162AB

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

Preview Lab → · Contrast checker → · Palette generator →

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