#C162B5#C162B5

#C162B5 is a light, vivid purple. Relative luminance 0.234; OKLCH L 63.6% C 0.159 H 332.2°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#C162B5
RGBrgb(193, 98, 181)
HSLhsl(308, 43%, 57%)
HSVhsv(308, 49%, 76%)
CMYKcmyk(0%, 49.2%, 6.2%, 24.3%)
CIE-LABlab(55.49, 49.20, -27.24)
CIE-LCHlch(55.49, 56.23, 331.03°)
OKLaboklab(63.65% 0.1404 -0.0741)
OKLCHoklch(63.65% 0.159 332.2)
XYZxyz(34.7003, 23.4112, 46.3982)
Luminance0.2341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162B5 #62C16E
analogous
#9E62C1 #C162B5 #C16286
triadic
#C162B5 #B5C162 #62B5C1
tetradic
#C162B5 #C19E62 #62C16E #6286C1
square
#C162B5 #C19E62 #62C16E #6286C1
split-complementary
#C162B5 #86C162 #62C19E
monochromatic
#793070 #A54198 #C162B5 #D28ECA #E4BADE

Accessibility & contrast

On white

3.70
#C162B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#C162B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162B5
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162B5#FFFFFF#000000##000000
##C162B51.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7CB8
Deuteranopia (green-blind)
#7A8AB2
Tritanopia (blue-blind)
#C86983
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c162b5;
/* rgb */ color: rgb(193, 98, 181);
/* oklch */ color: oklch(63.6% 0.159 332.2);
Tailwind
colors: {
  custom: {
    50: '#d692cb',
    500: '#c162b5',
    950: '#000000',
  },
}
SCSS
$custom: #c162b5;
$custom-light: #d692cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c162b5",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 181
  },
  "hsl": {
    "h": 307.579,
    "s": 43.379,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63648,
    "c": 0.15875,
    "h": 332.2
  },
  "luminance": 0.23409
}

Semantic roles & 50–950 ramp

primary
#C162B5
secondary
#ACD3B1
accent
#D36555
background
#FDF9FC
surface
#FAF1F8
border
#D3CBD1
text
#150D13
muted
#837E82

Preview Lab

Preview with #C162B5

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

Preview Lab → · Contrast checker → · Palette generator →

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