#C338AA#C338AA

#C338AA is a mid, highly saturated pink. Relative luminance 0.173; OKLCH L 58.6% C 0.212 H 336.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#C338AA
RGBrgb(195, 56, 170)
HSLhsl(311, 55%, 49%)
HSVhsv(311, 71%, 76%)
CMYKcmyk(0%, 71.3%, 12.8%, 23.5%)
CIE-LABlab(48.68, 66.03, -31.40)
CIE-LCHlch(48.68, 73.11, 334.57°)
OKLaboklab(58.55% 0.1936 -0.0855)
OKLCHoklch(58.55% 0.212 336.2)
XYZxyz(31.1760, 17.3355, 39.7266)
Luminance0.1733 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C338AA #38C351
analogous
#9638C3 #C338AA #C33865
triadic
#C338AA #AAC338 #38AAC3
tetradic
#C338AA #C39638 #38C351 #3865C3
square
#C338AA #C39638 #38C351 #3865C3
split-complementary
#C338AA #65C338 #38C396
monochromatic
#641D57 #932A81 #C338AA #D365BF #E195D3

Accessibility & contrast

On white

4.70
#C338AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#C338AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C338AA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C338AA#FFFFFF#000000##FFFFFF
##C338AA1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A66AD
Deuteranopia (green-blind)
#6A7BA7
Tritanopia (blue-blind)
#CD416D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c338aa;
/* rgb */ color: rgb(195, 56, 170);
/* oklch */ color: oklch(58.6% 0.212 336.2);
Tailwind
colors: {
  custom: {
    50: '#d97bc3',
    500: '#c338aa',
    950: '#000000',
  },
}
SCSS
$custom: #c338aa;
$custom-light: #d97bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#c338aa",
  "rgb": {
    "r": 195,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 310.791,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58553,
    "c": 0.21166,
    "h": 336.2
  },
  "luminance": 0.17333
}

Semantic roles & 50–950 ramp

primary
#C338AA
secondary
#8BCC97
accent
#DF6449
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C338AA

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

Preview Lab → · Contrast checker → · Palette generator →

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