#C271AA#C271AA

#C271AA is a light, vivid pink. Relative luminance 0.262; OKLCH L 65.6% C 0.125 H 339.0°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#C271AA
RGBrgb(194, 113, 170)
HSLhsl(318, 40%, 60%)
HSVhsv(318, 42%, 76%)
CMYKcmyk(0%, 41.8%, 12.4%, 23.9%)
CIE-LABlab(58.21, 39.90, -16.72)
CIE-LCHlch(58.21, 43.26, 337.26°)
OKLaboklab(65.57% 0.1164 -0.0447)
OKLCHoklch(65.57% 0.125 339)
XYZxyz(35.4091, 26.1840, 41.2114)
Luminance0.2618 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C271AA #71C289
analogous
#B171C2 #C271AA #C27181
triadic
#C271AA #AAC271 #71AAC2
tetradic
#C271AA #C2B171 #71C289 #7181C2
square
#C271AA #C2B171 #71C289 #7181C2
split-complementary
#C271AA #81C271 #71C2B1
monochromatic
#81376B #AC4A8F #C271AA #D49CC4 #E7C7DD

Accessibility & contrast

On white

3.37
#C271AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#C271AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C271AA
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C271AA#FFFFFF#000000##000000
##C271AA1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7484AC
Deuteranopia (green-blind)
#8991A8
Tritanopia (blue-blind)
#CA7386
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c271aa;
/* rgb */ color: rgb(194, 113, 170);
/* oklch */ color: oklch(65.6% 0.125 339.0);
Tailwind
colors: {
  custom: {
    50: '#d69bc3',
    500: '#c271aa',
    950: '#000000',
  },
}
SCSS
$custom: #c271aa;
$custom-light: #d69bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#c271aa",
  "rgb": {
    "r": 194,
    "g": 113,
    "b": 170
  },
  "hsl": {
    "h": 317.778,
    "s": 39.901,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65568,
    "c": 0.1247,
    "h": 339
  },
  "luminance": 0.26182
}

Semantic roles & 50–950 ramp

primary
#C271AA
secondary
#B8D7C1
accent
#B35933
background
#FDF9FC
surface
#FAF2F8
border
#D3CCD1
text
#140E12
muted
#837E81

Preview Lab

Preview with #C271AA

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

Preview Lab → · Contrast checker → · Palette generator →

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