#C256A2#C256A2

#C256A2 is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.3% C 0.164 H 340.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#C256A2
RGBrgb(194, 86, 162)
HSLhsl(318, 47%, 55%)
HSVhsv(318, 56%, 76%)
CMYKcmyk(0%, 55.7%, 16.5%, 23.9%)
CIE-LABlab(52.66, 52.24, -20.54)
CIE-LCHlch(52.66, 56.14, 338.54°)
OKLaboklab(61.32% 0.1545 -0.0551)
OKLCHoklch(61.32% 0.164 340.4)
XYZxyz(32.0981, 20.7361, 36.4873)
Luminance0.2073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C256A2 #56C276
analogous
#AC56C2 #C256A2 #C2566C
triadic
#C256A2 #A2C256 #56A2C2
tetradic
#C256A2 #C2AC56 #56C276 #566CC2
square
#C256A2 #C2AC56 #56C276 #566CC2
split-complementary
#C256A2 #6CC256 #56C2AC
monochromatic
#742A5E #A13A82 #C256A2 #D283BB #E2B0D3

Accessibility & contrast

On white

4.08
#C256A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#C256A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C256A2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C256A2#FFFFFF#000000##000000
##C256A21.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C73A4
Deuteranopia (green-blind)
#7A849F
Tritanopia (blue-blind)
#CC5875
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c256a2;
/* rgb */ color: rgb(194, 86, 162);
/* oklch */ color: oklch(61.3% 0.164 340.4);
Tailwind
colors: {
  custom: {
    50: '#d78abd',
    500: '#c256a2',
    950: '#000000',
  },
}
SCSS
$custom: #c256a2;
$custom-light: #d78abd;
$custom-dark: #000000;
JSON
{
  "hex": "#c256a2",
  "rgb": {
    "r": 194,
    "g": 86,
    "b": 162
  },
  "hsl": {
    "h": 317.778,
    "s": 46.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61323,
    "c": 0.16404,
    "h": 340.4
  },
  "luminance": 0.20734
}

Semantic roles & 50–950 ramp

primary
#C256A2
secondary
#A3D1B1
accent
#D77951
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C256A2

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

Preview Lab → · Contrast checker → · Palette generator →

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