#C255AF#C255AF

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

Color values

HEX#C255AF
RGBrgb(194, 85, 175)
HSLhsl(310, 47%, 55%)
HSVhsv(310, 56%, 76%)
CMYKcmyk(0%, 56.2%, 9.8%, 23.9%)
CIE-LABlab(53.02, 54.76, -27.58)
CIE-LCHlch(53.02, 61.31, 333.26°)
OKLaboklab(61.76% 0.1586 -0.0749)
OKLCHoklch(61.76% 0.175 334.7)
XYZxyz(33.2346, 21.0639, 42.8644)
Luminance0.2106 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C255AF #55C268
analogous
#9F55C2 #C255AF #C25578
triadic
#C255AF #AFC255 #55AFC2
tetradic
#C255AF #C29F55 #55C268 #5578C2
square
#C255AF #C29F55 #55C268 #5578C2
split-complementary
#C255AF #78C255 #55C29F
monochromatic
#732966 #A03A8E #C255AF #D282C4 #E2AFD9

Accessibility & contrast

On white

4.03
#C255AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#C255AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C255AF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C255AF#FFFFFF#000000##000000
##C255AF1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5574B2
Deuteranopia (green-blind)
#7584AC
Tritanopia (blue-blind)
#CA5B7A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c255af;
/* rgb */ color: rgb(194, 85, 175);
/* oklch */ color: oklch(61.8% 0.175 334.7);
Tailwind
colors: {
  custom: {
    50: '#d78ac7',
    500: '#c255af',
    950: '#000000',
  },
}
SCSS
$custom: #c255af;
$custom-light: #d78ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#c255af",
  "rgb": {
    "r": 194,
    "g": 85,
    "b": 175
  },
  "hsl": {
    "h": 310.459,
    "s": 47.186,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61763,
    "c": 0.17536,
    "h": 334.7
  },
  "luminance": 0.21061
}

Semantic roles & 50–950 ramp

primary
#C255AF
secondary
#A2D0AA
accent
#D76851
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C255AF

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

Preview Lab → · Contrast checker → · Palette generator →

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