#C340AA#C340AA

#C340AA is a mid, highly saturated pink. Relative luminance 0.182; OKLCH L 59.3% C 0.202 H 336.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#C340AA
RGBrgb(195, 64, 170)
HSLhsl(311, 52%, 51%)
HSVhsv(311, 67%, 76%)
CMYKcmyk(0%, 67.2%, 12.8%, 23.5%)
CIE-LABlab(49.71, 63.15, -29.79)
CIE-LCHlch(49.71, 69.82, 334.74°)
OKLaboklab(59.3% 0.185 -0.081)
OKLCHoklch(59.3% 0.202 336.4)
XYZxyz(31.5952, 18.1739, 39.8663)
Luminance0.1817 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C340AA #40C359
analogous
#9A40C3 #C340AA #C34068
triadic
#C340AA #AAC340 #40AAC3
tetradic
#C340AA #C39A40 #40C359 #4068C3
square
#C340AA #C39A40 #40C359 #4068C3
split-complementary
#C340AA #68C340 #40C39A
monochromatic
#68215A #972F83 #C340AA #D26FBF #E09DD3

Accessibility & contrast

On white

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

On black

4.63
#C340AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C340AA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C340AA#FFFFFF#000000##000000
##C340AA1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4269AD
Deuteranopia (green-blind)
#6D7DA7
Tritanopia (blue-blind)
#CD486F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c340aa;
/* rgb */ color: rgb(195, 64, 170);
/* oklch */ color: oklch(59.3% 0.202 336.4);
Tailwind
colors: {
  custom: {
    50: '#d97fc3',
    500: '#c340aa',
    950: '#000000',
  },
}
SCSS
$custom: #c340aa;
$custom-light: #d97fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#c340aa",
  "rgb": {
    "r": 195,
    "g": 64,
    "b": 170
  },
  "hsl": {
    "h": 311.45,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59297,
    "c": 0.202,
    "h": 336.4
  },
  "luminance": 0.18171
}

Semantic roles & 50–950 ramp

primary
#C340AA
secondary
#92CC9D
accent
#DC684C
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B12
muted
#837C81

Preview Lab

Preview with #C340AA

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

Preview Lab → · Contrast checker → · Palette generator →

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