#C162A7#C162A7

#C162A7 is a light, vivid pink. Relative luminance 0.229; OKLCH L 63.0% C 0.147 H 338.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#C162A7
RGBrgb(193, 98, 167)
HSLhsl(316, 43%, 57%)
HSVhsv(316, 49%, 76%)
CMYKcmyk(0%, 49.2%, 13.5%, 24.3%)
CIE-LABlab(54.93, 46.86, -19.99)
CIE-LCHlch(54.93, 50.95, 336.90°)
OKLaboklab(63.05% 0.1373 -0.0537)
OKLCHoklch(63.05% 0.147 338.6)
XYZxyz(33.3354, 22.8652, 39.2094)
Luminance0.2286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162A7 #62C17C
analogous
#AC62C1 #C162A7 #C16278
triadic
#C162A7 #A7C162 #62A7C1
tetradic
#C162A7 #C1AC62 #62C17C #6278C1
square
#C162A7 #C1AC62 #62C17C #6278C1
split-complementary
#C162A7 #78C162 #62C1AC
monochromatic
#793065 #A54189 #C162A7 #D28EC0 #E4BAD8

Accessibility & contrast

On white

3.77
#C162A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#C162A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162A7
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162A7#FFFFFF#000000##000000
##C162A71.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#657AA9
Deuteranopia (green-blind)
#7F89A4
Tritanopia (blue-blind)
#CA657D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c162a7;
/* rgb */ color: rgb(193, 98, 167);
/* oklch */ color: oklch(63.0% 0.147 338.6);
Tailwind
colors: {
  custom: {
    50: '#d692c1',
    500: '#c162a7',
    950: '#000000',
  },
}
SCSS
$custom: #c162a7;
$custom-light: #d692c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c162a7",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 167
  },
  "hsl": {
    "h": 316.421,
    "s": 43.379,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63047,
    "c": 0.14738,
    "h": 338.6
  },
  "luminance": 0.22863
}

Semantic roles & 50–950 ramp

primary
#C162A7
secondary
#ACD3B7
accent
#D37755
background
#FDF9FB
surface
#FAF1F7
border
#D3CBD0
text
#150D12
muted
#837E81

Preview Lab

Preview with #C162A7

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

Preview Lab → · Contrast checker → · Palette generator →

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