#C245AF#C245AF

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

Color values

HEX#C245AF
RGBrgb(194, 69, 175)
HSLhsl(309, 51%, 52%)
HSVhsv(309, 64%, 76%)
CMYKcmyk(0%, 64.4%, 9.8%, 23.9%)
CIE-LABlab(50.48, 61.70, -31.53)
CIE-LCHlch(50.48, 69.29, 332.93°)
OKLaboklab(59.9% 0.1789 -0.086)
OKLCHoklch(59.9% 0.199 334.3)
XYZxyz(32.1143, 18.8233, 42.4910)
Luminance0.1882 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C245AF #45C258
analogous
#9745C2 #C245AF #C24571
triadic
#C245AF #AFC245 #45AFC2
tetradic
#C245AF #C29745 #45C258 #4571C2
square
#C245AF #C29745 #45C258 #4571C2
split-complementary
#C245AF #71C245 #45C297
monochromatic
#6A235F #983288 #C245AF #D173C3 #E0A1D7

Accessibility & contrast

On white

4.41
#C245AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C245AF#FFFFFF#000000##000000
##C245AF1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#446CB2
Deuteranopia (green-blind)
#6D7FAC
Tritanopia (blue-blind)
#CB4E74
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c245af;
/* rgb */ color: rgb(194, 69, 175);
/* oklch */ color: oklch(59.9% 0.199 334.3);
Tailwind
colors: {
  custom: {
    50: '#d881c7',
    500: '#c245af',
    950: '#000000',
  },
}
SCSS
$custom: #c245af;
$custom-light: #d881c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c245af",
  "rgb": {
    "r": 194,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 309.12,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59904,
    "c": 0.1985,
    "h": 334.3
  },
  "luminance": 0.18821
}

Semantic roles & 50–950 ramp

primary
#C245AF
secondary
#96CD9E
accent
#DA634E
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C245AF

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

Preview Lab → · Contrast checker → · Palette generator →

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