#C245AE#C245AE

#C245AE is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.9% C 0.198 H 334.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C245AE
RGBrgb(194, 69, 174)
HSLhsl(310, 51%, 52%)
HSVhsv(310, 64%, 76%)
CMYKcmyk(0%, 64.4%, 10.3%, 23.9%)
CIE-LABlab(50.43, 61.54, -31.02)
CIE-LCHlch(50.43, 68.92, 333.25°)
OKLaboklab(59.86% 0.1788 -0.0846)
OKLCHoklch(59.86% 0.198 334.7)
XYZxyz(32.0165, 18.7842, 41.9757)
Luminance0.1878 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C245AE #45C259
analogous
#9845C2 #C245AE #C24570
triadic
#C245AE #AEC245 #45AEC2
tetradic
#C245AE #C29845 #45C259 #4570C2
square
#C245AE #C29845 #45C259 #4570C2
split-complementary
#C245AE #70C245 #45C298
monochromatic
#6A235E #983288 #C245AE #D173C2 #E0A1D6

Accessibility & contrast

On white

4.42
#C245AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#C245AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C245AE
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C245AE#FFFFFF#000000##000000
##C245AE1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#446CB1
Deuteranopia (green-blind)
#6D7FAB
Tritanopia (blue-blind)
#CB4E73
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c245ae;
/* rgb */ color: rgb(194, 69, 174);
/* oklch */ color: oklch(59.9% 0.198 334.7);
Tailwind
colors: {
  custom: {
    50: '#d881c6',
    500: '#c245ae',
    950: '#000000',
  },
}
SCSS
$custom: #c245ae;
$custom-light: #d881c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c245ae",
  "rgb": {
    "r": 194,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 309.6,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59855,
    "c": 0.19775,
    "h": 334.7
  },
  "luminance": 0.18782
}

Semantic roles & 50–950 ramp

primary
#C245AE
secondary
#96CD9F
accent
#DA644E
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C245AE

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

Preview Lab → · Contrast checker → · Palette generator →

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