#C161B2#C161B2

#C161B2 is a light, vivid purple. Relative luminance 0.231; OKLCH L 63.4% C 0.158 H 333.5°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#C161B2
RGBrgb(193, 97, 178)
HSLhsl(309, 44%, 57%)
HSVhsv(309, 50%, 76%)
CMYKcmyk(0%, 49.7%, 7.8%, 24.3%)
CIE-LABlab(55.18, 49.18, -25.99)
CIE-LCHlch(55.18, 55.63, 332.14°)
OKLaboklab(63.37% 0.1412 -0.0705)
OKLCHoklch(63.37% 0.158 333.5)
XYZxyz(34.3028, 23.1034, 44.7635)
Luminance0.2310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C161B2 #61C170
analogous
#A061C1 #C161B2 #C16182
triadic
#C161B2 #B2C161 #61B2C1
tetradic
#C161B2 #C1A061 #61C170 #6182C1
square
#C161B2 #C1A061 #61C170 #6182C1
split-complementary
#C161B2 #82C161 #61C1A0
monochromatic
#782F6D #A44095 #C161B2 #D28DC7 #E3B9DD

Accessibility & contrast

On white

3.74
#C161B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#C161B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C161B2
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C161B2#FFFFFF#000000##000000
##C161B21.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#607BB5
Deuteranopia (green-blind)
#7B89AF
Tritanopia (blue-blind)
#C86781
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c161b2;
/* rgb */ color: rgb(193, 97, 178);
/* oklch */ color: oklch(63.4% 0.158 333.5);
Tailwind
colors: {
  custom: {
    50: '#d691c9',
    500: '#c161b2',
    950: '#000000',
  },
}
SCSS
$custom: #c161b2;
$custom-light: #d691c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c161b2",
  "rgb": {
    "r": 193,
    "g": 97,
    "b": 178
  },
  "hsl": {
    "h": 309.375,
    "s": 43.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63373,
    "c": 0.15787,
    "h": 333.5
  },
  "luminance": 0.23101
}

Semantic roles & 50–950 ramp

primary
#C161B2
secondary
#ABD2B1
accent
#D36854
background
#FDF9FC
surface
#FAF1F8
border
#D3CBD1
text
#150D13
muted
#837E82

Preview Lab

Preview with #C161B2

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

Preview Lab → · Contrast checker → · Palette generator →

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