#C256AC#C256AC

#C256AC is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.8% C 0.171 H 336.0°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#C256AC
RGBrgb(194, 86, 172)
HSLhsl(312, 47%, 55%)
HSVhsv(312, 56%, 76%)
CMYKcmyk(0%, 55.7%, 11.3%, 23.9%)
CIE-LABlab(53.07, 53.81, -25.76)
CIE-LCHlch(53.07, 59.66, 334.42°)
OKLaboklab(61.76% 0.1566 -0.0698)
OKLCHoklch(61.76% 0.171 336)
XYZxyz(33.0226, 21.1059, 41.3563)
Luminance0.2110 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C256AC #56C26C
analogous
#A256C2 #C256AC #C25676
triadic
#C256AC #ACC256 #56ACC2
tetradic
#C256AC #C2A256 #56C26C #5676C2
square
#C256AC #C2A256 #56C26C #5676C2
split-complementary
#C256AC #76C256 #56C2A2
monochromatic
#742A65 #A13A8C #C256AC #D283C2 #E2B0D8

Accessibility & contrast

On white

4.02
#C256AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#C256AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C256AC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C256AC#FFFFFF#000000##000000
##C256AC1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5774AF
Deuteranopia (green-blind)
#7785A9
Tritanopia (blue-blind)
#CB5B79
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c256ac;
/* rgb */ color: rgb(194, 86, 172);
/* oklch */ color: oklch(61.8% 0.171 336.0);
Tailwind
colors: {
  custom: {
    50: '#d78bc5',
    500: '#c256ac',
    950: '#000000',
  },
}
SCSS
$custom: #c256ac;
$custom-light: #d78bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#c256ac",
  "rgb": {
    "r": 194,
    "g": 86,
    "b": 172
  },
  "hsl": {
    "h": 312.222,
    "s": 46.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61756,
    "c": 0.17147,
    "h": 336
  },
  "luminance": 0.21103
}

Semantic roles & 50–950 ramp

primary
#C256AC
secondary
#A3D1AC
accent
#D76C51
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C256AC

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

Preview Lab → · Contrast checker → · Palette generator →

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