#C240A3#C240A3

#C240A3 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.8% C 0.196 H 338.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#C240A3
RGBrgb(194, 64, 163)
HSLhsl(314, 52%, 51%)
HSVhsv(314, 67%, 76%)
CMYKcmyk(0%, 67%, 16%, 23.9%)
CIE-LABlab(49.23, 61.86, -26.41)
CIE-LCHlch(49.23, 67.26, 336.88°)
OKLaboklab(58.82% 0.183 -0.0714)
OKLCHoklch(58.82% 0.196 338.7)
XYZxyz(30.6930, 17.7832, 36.4592)
Luminance0.1778 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C240A3 #40C25F
analogous
#A040C2 #C240A3 #C24062
triadic
#C240A3 #A3C240 #40A3C2
tetradic
#C240A3 #C2A040 #40C25F #4062C2
square
#C240A3 #C2A040 #40C25F #4062C2
split-complementary
#C240A3 #62C240 #40C2A0
monochromatic
#672156 #95307D #C240A3 #D16EB9 #E09DD0

Accessibility & contrast

On white

4.61
#C240A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#C240A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C240A3
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C240A3#FFFFFF#000000##FFFFFF
##C240A31.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4668A6
Deuteranopia (green-blind)
#6F7CA0
Tritanopia (blue-blind)
#CD456C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c240a3;
/* rgb */ color: rgb(194, 64, 163);
/* oklch */ color: oklch(58.8% 0.196 338.7);
Tailwind
colors: {
  custom: {
    50: '#d87fbe',
    500: '#c240a3',
    950: '#000000',
  },
}
SCSS
$custom: #c240a3;
$custom-light: #d87fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#c240a3",
  "rgb": {
    "r": 194,
    "g": 64,
    "b": 163
  },
  "hsl": {
    "h": 314.308,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58818,
    "c": 0.19646,
    "h": 338.7
  },
  "luminance": 0.1778
}

Semantic roles & 50–950 ramp

primary
#C240A3
secondary
#92CCA0
accent
#DB6F4D
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C240A3

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

Preview Lab → · Contrast checker → · Palette generator →

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