#C271A2#C271A2

#C271A2 is a light, moderate pink. Relative luminance 0.259; OKLCH L 65.3% C 0.119 H 343.8°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#C271A2
RGBrgb(194, 113, 162)
HSLhsl(324, 40%, 60%)
HSVhsv(324, 42%, 76%)
CMYKcmyk(0%, 41.8%, 16.5%, 23.9%)
CIE-LABlab(57.93, 38.59, -12.53)
CIE-LCHlch(57.93, 40.58, 342.01°)
OKLaboklab(65.27% 0.1141 -0.0331)
OKLCHoklch(65.27% 0.119 343.8)
XYZxyz(34.6752, 25.8905, 37.3464)
Luminance0.2589 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C271A2 #71C291
analogous
#B971C2 #C271A2 #C27179
triadic
#C271A2 #A2C271 #71A2C2
tetradic
#C271A2 #C2B971 #71C291 #7179C2
square
#C271A2 #C2B971 #71C291 #7179C2
split-complementary
#C271A2 #79C271 #71C2B9
monochromatic
#813764 #AC4A85 #C271A2 #D49CBE #E7C7DA

Accessibility & contrast

On white

3.40
#C271A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#C271A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C271A2
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C271A2#FFFFFF#000000##000000
##C271A21.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7683A4
Deuteranopia (green-blind)
#8B90A0
Tritanopia (blue-blind)
#CB7183
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #c271a2;
/* rgb */ color: rgb(194, 113, 162);
/* oklch */ color: oklch(65.3% 0.119 343.8);
Tailwind
colors: {
  custom: {
    50: '#d69bbd',
    500: '#c271a2',
    950: '#000000',
  },
}
SCSS
$custom: #c271a2;
$custom-light: #d69bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#c271a2",
  "rgb": {
    "r": 194,
    "g": 113,
    "b": 162
  },
  "hsl": {
    "h": 323.704,
    "s": 39.901,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65267,
    "c": 0.11877,
    "h": 343.8
  },
  "luminance": 0.25888
}

Semantic roles & 50–950 ramp

primary
#C271A2
secondary
#B8D7C4
accent
#B36533
background
#FDF9FB
surface
#FAF2F6
border
#D3CCD0
text
#140E12
muted
#837E81

Preview Lab

Preview with #C271A2

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

Preview Lab → · Contrast checker → · Palette generator →

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