#C162B2#C162B2

#C162B2 is a light, vivid purple. Relative luminance 0.233; OKLCH L 63.5% C 0.156 H 333.5°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#C162B2
RGBrgb(193, 98, 178)
HSLhsl(309, 43%, 57%)
HSVhsv(309, 49%, 76%)
CMYKcmyk(0%, 49.2%, 7.8%, 24.3%)
CIE-LABlab(55.37, 48.68, -25.70)
CIE-LCHlch(55.37, 55.05, 332.17°)
OKLaboklab(63.52% 0.1398 -0.0697)
OKLCHoklch(63.52% 0.156 333.5)
XYZxyz(34.3958, 23.2894, 44.7945)
Luminance0.2329 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162B2 #62C171
analogous
#A162C1 #C162B2 #C16283
triadic
#C162B2 #B2C162 #62B2C1
tetradic
#C162B2 #C1A162 #62C171 #6283C1
square
#C162B2 #C1A162 #62C171 #6283C1
split-complementary
#C162B2 #83C162 #62C1A1
monochromatic
#79306D #A54195 #C162B2 #D28EC8 #E4BADD

Accessibility & contrast

On white

3.71
#C162B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#C162B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162B2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162B2#FFFFFF#000000##000000
##C162B21.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#617CB5
Deuteranopia (green-blind)
#7B8AAF
Tritanopia (blue-blind)
#C86882
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c162b2;
/* rgb */ color: rgb(193, 98, 178);
/* oklch */ color: oklch(63.5% 0.156 333.5);
Tailwind
colors: {
  custom: {
    50: '#d692c9',
    500: '#c162b2',
    950: '#000000',
  },
}
SCSS
$custom: #c162b2;
$custom-light: #d692c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c162b2",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 178
  },
  "hsl": {
    "h": 309.474,
    "s": 43.379,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63515,
    "c": 0.15621,
    "h": 333.5
  },
  "luminance": 0.23287
}

Semantic roles & 50–950 ramp

primary
#C162B2
secondary
#ACD3B2
accent
#D36955
background
#FDF9FC
surface
#FAF1F8
border
#D3CBD1
text
#150D13
muted
#837E82

Preview Lab

Preview with #C162B2

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

Preview Lab → · Contrast checker → · Palette generator →

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