#C338A6#C338A6

#C338A6 is a mid, highly saturated pink. Relative luminance 0.172; OKLCH L 58.4% C 0.209 H 337.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#C338A6
RGBrgb(195, 56, 166)
HSLhsl(313, 55%, 49%)
HSVhsv(313, 71%, 76%)
CMYKcmyk(0%, 71.3%, 14.9%, 23.5%)
CIE-LABlab(48.49, 65.45, -29.32)
CIE-LCHlch(48.49, 71.72, 335.87°)
OKLaboklab(58.36% 0.1931 -0.0796)
OKLCHoklch(58.36% 0.209 337.6)
XYZxyz(30.8034, 17.1865, 37.7640)
Luminance0.1718 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C338A6 #38C355
analogous
#9B38C3 #C338A6 #C33861
triadic
#C338A6 #A6C338 #38A6C3
tetradic
#C338A6 #C39B38 #38C355 #3861C3
square
#C338A6 #C39B38 #38C355 #3861C3
split-complementary
#C338A6 #61C338 #38C39B
monochromatic
#641D55 #932A7E #C338A6 #D365BC #E195D1

Accessibility & contrast

On white

4.73
#C338A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#C338A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C338A6
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C338A6#FFFFFF#000000##FFFFFF
##C338A61.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D65A9
Deuteranopia (green-blind)
#6B7BA3
Tritanopia (blue-blind)
#CE3F6B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c338a6;
/* rgb */ color: rgb(195, 56, 166);
/* oklch */ color: oklch(58.4% 0.209 337.6);
Tailwind
colors: {
  custom: {
    50: '#d97bc0',
    500: '#c338a6',
    950: '#000000',
  },
}
SCSS
$custom: #c338a6;
$custom-light: #d97bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#c338a6",
  "rgb": {
    "r": 195,
    "g": 56,
    "b": 166
  },
  "hsl": {
    "h": 312.518,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58358,
    "c": 0.20891,
    "h": 337.6
  },
  "luminance": 0.17184
}

Semantic roles & 50–950 ramp

primary
#C338A6
secondary
#8BCC99
accent
#DF6849
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C338A6

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

Preview Lab → · Contrast checker → · Palette generator →

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