#C245BA#C245BA

#C245BA is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.5% C 0.207 H 330.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#C245BA
RGBrgb(194, 69, 186)
HSLhsl(304, 51%, 52%)
HSVhsv(304, 64%, 76%)
CMYKcmyk(0%, 64.4%, 4.1%, 23.9%)
CIE-LABlab(51.01, 63.45, -37.13)
CIE-LCHlch(51.01, 73.51, 329.67°)
OKLaboklab(60.46% 0.18 -0.1021)
OKLCHoklch(60.46% 0.207 330.4)
XYZxyz(33.2390, 19.2732, 48.4143)
Luminance0.1927 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C245BA #45C24D
analogous
#8C45C2 #C245BA #C2457C
triadic
#C245BA #BAC245 #45BAC2
tetradic
#C245BA #C28C45 #45C24D #457CC2
square
#C245BA #C28C45 #45C24D #457CC2
split-complementary
#C245BA #7CC245 #45C28C
monochromatic
#6A2365 #983291 #C245BA #D173CB #E0A1DC

Accessibility & contrast

On white

4.33
#C245BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#C245BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C245BA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C245BA#FFFFFF#000000##000000
##C245BA1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B6EBD
Deuteranopia (green-blind)
#6880B7
Tritanopia (blue-blind)
#C9537A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c245ba;
/* rgb */ color: rgb(194, 69, 186);
/* oklch */ color: oklch(60.5% 0.207 330.4);
Tailwind
colors: {
  custom: {
    50: '#d882cf',
    500: '#c245ba',
    950: '#000000',
  },
}
SCSS
$custom: #c245ba;
$custom-light: #d882cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c245ba",
  "rgb": {
    "r": 194,
    "g": 69,
    "b": 186
  },
  "hsl": {
    "h": 303.84,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60456,
    "c": 0.20694,
    "h": 330.4
  },
  "luminance": 0.19271
}

Semantic roles & 50–950 ramp

primary
#C245BA
secondary
#96CD99
accent
#DA574E
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #C245BA

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

Preview Lab → · Contrast checker → · Palette generator →

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