#C240AE#C240AE

#C240AE is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.3% C 0.204 H 334.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#C240AE
RGBrgb(194, 64, 174)
HSLhsl(309, 52%, 51%)
HSVhsv(309, 67%, 76%)
CMYKcmyk(0%, 67%, 10.3%, 23.9%)
CIE-LABlab(49.73, 63.50, -32.12)
CIE-LCHlch(49.73, 71.16, 333.17°)
OKLaboklab(59.34% 0.1845 -0.0877)
OKLCHoklch(59.34% 0.204 334.6)
XYZxyz(31.7218, 18.1947, 41.8774)
Luminance0.1819 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C240AE #40C254
analogous
#9540C2 #C240AE #C2406D
triadic
#C240AE #AEC240 #40AEC2
tetradic
#C240AE #C29540 #40C254 #406DC2
square
#C240AE #C29540 #40C254 #406DC2
split-complementary
#C240AE #6DC240 #40C295
monochromatic
#67215C #953086 #C240AE #D16EC2 #E09DD5

Accessibility & contrast

On white

4.53
#C240AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#C240AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C240AE
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C240AE#FFFFFF#000000##000000
##C240AE1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F6AB1
Deuteranopia (green-blind)
#6B7DAB
Tritanopia (blue-blind)
#CB4A71
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c240ae;
/* rgb */ color: rgb(194, 64, 174);
/* oklch */ color: oklch(59.3% 0.204 334.6);
Tailwind
colors: {
  custom: {
    50: '#d87fc6',
    500: '#c240ae',
    950: '#000000',
  },
}
SCSS
$custom: #c240ae;
$custom-light: #d87fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#c240ae",
  "rgb": {
    "r": 194,
    "g": 64,
    "b": 174
  },
  "hsl": {
    "h": 309.231,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59344,
    "c": 0.20427,
    "h": 334.6
  },
  "luminance": 0.18192
}

Semantic roles & 50–950 ramp

primary
#C240AE
secondary
#92CC9B
accent
#DB634D
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C240AE

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

Preview Lab → · Contrast checker → · Palette generator →

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