#C27AAA#C27AAA

#C27AAA is a light, moderate pink. Relative luminance 0.283; OKLCH L 67.0% C 0.109 H 340.3°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#C27AAA
RGBrgb(194, 122, 170)
HSLhsl(320, 37%, 62%)
HSVhsv(320, 37%, 76%)
CMYKcmyk(0%, 37.1%, 12.4%, 23.9%)
CIE-LABlab(60.15, 35.07, -13.78)
CIE-LCHlch(60.15, 37.68, 338.54°)
OKLaboklab(67.04% 0.1024 -0.0367)
OKLCHoklch(67.04% 0.109 340.3)
XYZxyz(36.4634, 28.2927, 41.5628)
Luminance0.2829 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C27AAA #7AC292
analogous
#B67AC2 #C27AAA #C27A86
triadic
#C27AAA #AAC27A #7AAAC2
tetradic
#C27AAA #C2B67A #7AC292 #7A86C2
square
#C27AAA #C2B67A #7AC292 #7A86C2
split-complementary
#C27AAA #86C27A #7AC2B6
monochromatic
#853D6D #AF508F #C27AAA #D5A4C5 #E8CEE0

Accessibility & contrast

On white

3.15
#C27AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#C27AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C27AAA
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C27AAA#FFFFFF#000000##000000
##C27AAA1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8AAC
Deuteranopia (green-blind)
#8F95A8
Tritanopia (blue-blind)
#CA7B8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c27aaa;
/* rgb */ color: rgb(194, 122, 170);
/* oklch */ color: oklch(67.0% 0.109 340.3);
Tailwind
colors: {
  custom: {
    50: '#d5a1c3',
    500: '#c27aaa',
    950: '#000000',
  },
}
SCSS
$custom: #c27aaa;
$custom-light: #d5a1c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c27aaa",
  "rgb": {
    "r": 194,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 320,
    "s": 37.113,
    "l": 61.961
  },
  "oklch": {
    "l": 0.67035,
    "c": 0.10874,
    "h": 340.3
  },
  "luminance": 0.28291
}

Semantic roles & 50–950 ramp

primary
#C27AAA
secondary
#BFD9C7
accent
#B05E35
background
#FDFAFC
surface
#FAF3F8
border
#D3CDD1
text
#140F12
muted
#837F81

Preview Lab

Preview with #C27AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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