#C271A4#C271A4

#C271A4 is a light, vivid pink. Relative luminance 0.260; OKLCH L 65.3% C 0.120 H 342.6°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#C271A4
RGBrgb(194, 113, 164)
HSLhsl(322, 40%, 60%)
HSVhsv(322, 42%, 76%)
CMYKcmyk(0%, 41.8%, 15.5%, 23.9%)
CIE-LABlab(58.00, 38.91, -13.58)
CIE-LCHlch(58.00, 41.22, 340.76°)
OKLaboklab(65.34% 0.1147 -0.036)
OKLCHoklch(65.34% 0.12 342.6)
XYZxyz(34.8544, 25.9621, 38.2901)
Luminance0.2596 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C271A4 #71C28F
analogous
#B771C2 #C271A4 #C2717C
triadic
#C271A4 #A4C271 #71A4C2
tetradic
#C271A4 #C2B771 #71C28F #717CC2
square
#C271A4 #C2B771 #71C28F #717CC2
split-complementary
#C271A4 #7CC271 #71C2B7
monochromatic
#813766 #AC4A88 #C271A4 #D49CBF #E7C7DB

Accessibility & contrast

On white

3.39
#C271A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#C271A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C271A4
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C271A4#FFFFFF#000000##000000
##C271A41.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7683A6
Deuteranopia (green-blind)
#8A90A2
Tritanopia (blue-blind)
#CB7184
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #c271a4;
/* rgb */ color: rgb(194, 113, 164);
/* oklch */ color: oklch(65.3% 0.120 342.6);
Tailwind
colors: {
  custom: {
    50: '#d69bbf',
    500: '#c271a4',
    950: '#000000',
  },
}
SCSS
$custom: #c271a4;
$custom-light: #d69bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#c271a4",
  "rgb": {
    "r": 194,
    "g": 113,
    "b": 164
  },
  "hsl": {
    "h": 322.222,
    "s": 39.901,
    "l": 60.196
  },
  "oklch": {
    "l": 0.6534,
    "c": 0.12019,
    "h": 342.6
  },
  "luminance": 0.2596
}

Semantic roles & 50–950 ramp

primary
#C271A4
secondary
#B8D7C3
accent
#B36233
background
#FDF9FB
surface
#FAF2F7
border
#D3CCD0
text
#140E12
muted
#837E81

Preview Lab

Preview with #C271A4

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

Preview Lab → · Contrast checker → · Palette generator →

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