#C271AF#C271AF

#C271AF is a light, vivid pink. Relative luminance 0.264; OKLCH L 65.8% C 0.129 H 336.2°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#C271AF
RGBrgb(194, 113, 175)
HSLhsl(314, 40%, 60%)
HSVhsv(314, 42%, 76%)
CMYKcmyk(0%, 41.8%, 9.8%, 23.9%)
CIE-LABlab(58.39, 40.74, -19.32)
CIE-LCHlch(58.39, 45.09, 334.63°)
OKLaboklab(65.77% 0.1178 -0.0519)
OKLCHoklch(65.77% 0.129 336.2)
XYZxyz(35.8911, 26.3768, 43.7499)
Luminance0.2637 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C271AF #71C284
analogous
#AC71C2 #C271AF #C27187
triadic
#C271AF #AFC271 #71AFC2
tetradic
#C271AF #C2AC71 #71C284 #7187C2
square
#C271AF #C2AC71 #71C284 #7187C2
split-complementary
#C271AF #87C271 #71C2AC
monochromatic
#813770 #AC4A95 #C271AF #D49CC7 #E7C7DF

Accessibility & contrast

On white

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

On black

6.28
#C271AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C271AF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C271AF#FFFFFF#000000##000000
##C271AF1.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c271af;
/* rgb */ color: rgb(194, 113, 175);
/* oklch */ color: oklch(65.8% 0.129 336.2);
Tailwind
colors: {
  custom: {
    50: '#d69cc7',
    500: '#c271af',
    950: '#000000',
  },
}
SCSS
$custom: #c271af;
$custom-light: #d69cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#c271af",
  "rgb": {
    "r": 194,
    "g": 113,
    "b": 175
  },
  "hsl": {
    "h": 314.074,
    "s": 39.901,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65765,
    "c": 0.12873,
    "h": 336.2
  },
  "luminance": 0.26375
}

Semantic roles & 50–950 ramp

primary
#C271AF
secondary
#B8D7BF
accent
#B35133
background
#FDF9FC
surface
#FAF2F8
border
#D3CCD1
text
#140E13
muted
#837E82

Preview Lab

Preview with #C271AF

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

Preview Lab → · Contrast checker → · Palette generator →

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