#C271AE#C271AE

#C271AE is a light, vivid pink. Relative luminance 0.263; OKLCH L 65.7% C 0.128 H 336.8°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#C271AE
RGBrgb(194, 113, 174)
HSLhsl(315, 40%, 60%)
HSVhsv(315, 42%, 76%)
CMYKcmyk(0%, 41.8%, 10.3%, 23.9%)
CIE-LABlab(58.36, 40.57, -18.80)
CIE-LCHlch(58.36, 44.71, 335.14°)
OKLaboklab(65.72% 0.1175 -0.0505)
OKLCHoklch(65.72% 0.128 336.8)
XYZxyz(35.7932, 26.3377, 43.2346)
Luminance0.2634 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C271AE #71C285
analogous
#AD71C2 #C271AE #C27185
triadic
#C271AE #AEC271 #71AEC2
tetradic
#C271AE #C2AD71 #71C285 #7185C2
square
#C271AE #C2AD71 #71C285 #7185C2
split-complementary
#C271AE #85C271 #71C2AD
monochromatic
#81376F #AC4A94 #C271AE #D49CC6 #E7C7DF

Accessibility & contrast

On white

3.35
#C271AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#C271AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C271AE
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C271AE#FFFFFF#000000##000000
##C271AE1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7285B0
Deuteranopia (green-blind)
#8791AC
Tritanopia (blue-blind)
#CA7488
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c271ae;
/* rgb */ color: rgb(194, 113, 174);
/* oklch */ color: oklch(65.7% 0.128 336.8);
Tailwind
colors: {
  custom: {
    50: '#d69cc6',
    500: '#c271ae',
    950: '#000000',
  },
}
SCSS
$custom: #c271ae;
$custom-light: #d69cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#c271ae",
  "rgb": {
    "r": 194,
    "g": 113,
    "b": 174
  },
  "hsl": {
    "h": 314.815,
    "s": 39.901,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65725,
    "c": 0.12791,
    "h": 336.8
  },
  "luminance": 0.26336
}

Semantic roles & 50–950 ramp

primary
#C271AE
secondary
#B8D7C0
accent
#B35233
background
#FDF9FC
surface
#FAF2F8
border
#D3CCD1
text
#140E13
muted
#837E82

Preview Lab

Preview with #C271AE

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

Preview Lab → · Contrast checker → · Palette generator →

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