#C162A2#C162A2

#C162A2 is a light, vivid pink. Relative luminance 0.227; OKLCH L 62.8% C 0.144 H 341.2°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#C162A2
RGBrgb(193, 98, 162)
HSLhsl(320, 43%, 57%)
HSVhsv(320, 49%, 76%)
CMYKcmyk(0%, 49.2%, 16.1%, 24.3%)
CIE-LABlab(54.75, 46.07, -17.37)
CIE-LCHlch(54.75, 49.23, 339.34°)
OKLaboklab(62.85% 0.136 -0.0463)
OKLCHoklch(62.85% 0.144 341.2)
XYZxyz(32.8820, 22.6839, 36.8220)
Luminance0.2268 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162A2 #62C181
analogous
#B162C1 #C162A2 #C16273
triadic
#C162A2 #A2C162 #62A2C1
tetradic
#C162A2 #C1B162 #62C181 #6273C1
square
#C162A2 #C1B162 #62C181 #6273C1
split-complementary
#C162A2 #73C162 #62C1B1
monochromatic
#793061 #A54184 #C162A2 #D28EBC #E4BAD6

Accessibility & contrast

On white

3.79
#C162A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#C162A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162A2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162A2#FFFFFF#000000##000000
##C162A21.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#677AA4
Deuteranopia (green-blind)
#81899F
Tritanopia (blue-blind)
#CB637B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c162a2;
/* rgb */ color: rgb(193, 98, 162);
/* oklch */ color: oklch(62.8% 0.144 341.2);
Tailwind
colors: {
  custom: {
    50: '#d692bd',
    500: '#c162a2',
    950: '#000000',
  },
}
SCSS
$custom: #c162a2;
$custom-light: #d692bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c162a2",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 162
  },
  "hsl": {
    "h": 319.579,
    "s": 43.379,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62845,
    "c": 0.14366,
    "h": 341.2
  },
  "luminance": 0.22681
}

Semantic roles & 50–950 ramp

primary
#C162A2
secondary
#ACD3B9
accent
#D37E55
background
#FDF9FB
surface
#FAF1F6
border
#D3CBD0
text
#150D12
muted
#837E81

Preview Lab

Preview with #C162A2

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

Preview Lab → · Contrast checker → · Palette generator →

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