#C338A4#C338A4

#C338A4 is a mid, highly saturated pink. Relative luminance 0.171; OKLCH L 58.3% C 0.208 H 338.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#C338A4
RGBrgb(195, 56, 164)
HSLhsl(313, 55%, 49%)
HSVhsv(313, 71%, 76%)
CMYKcmyk(0%, 71.3%, 15.9%, 23.5%)
CIE-LABlab(48.40, 65.17, -28.28)
CIE-LCHlch(48.40, 71.04, 336.54°)
OKLaboklab(58.26% 0.1929 -0.0766)
OKLCHoklch(58.26% 0.208 338.3)
XYZxyz(30.6214, 17.1136, 36.8053)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C338A4 #38C357
analogous
#9D38C3 #C338A4 #C3385F
triadic
#C338A4 #A4C338 #38A4C3
tetradic
#C338A4 #C39D38 #38C357 #385FC3
square
#C338A4 #C39D38 #38C357 #385FC3
split-complementary
#C338A4 #5FC338 #38C39D
monochromatic
#641D54 #932A7C #C338A4 #D365BA #E195D0

Accessibility & contrast

On white

4.75
#C338A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#C338A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C338A4
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C338A4#FFFFFF#000000##FFFFFF
##C338A41.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E65A7
Deuteranopia (green-blind)
#6C7BA1
Tritanopia (blue-blind)
#CE3E6A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c338a4;
/* rgb */ color: rgb(195, 56, 164);
/* oklch */ color: oklch(58.3% 0.208 338.3);
Tailwind
colors: {
  custom: {
    50: '#d97bbf',
    500: '#c338a4',
    950: '#000000',
  },
}
SCSS
$custom: #c338a4;
$custom-light: #d97bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#c338a4",
  "rgb": {
    "r": 195,
    "g": 56,
    "b": 164
  },
  "hsl": {
    "h": 313.381,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58262,
    "c": 0.20757,
    "h": 338.3
  },
  "luminance": 0.17111
}

Semantic roles & 50–950 ramp

primary
#C338A4
secondary
#8BCC99
accent
#DF6A49
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C338A4

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

Preview Lab → · Contrast checker → · Palette generator →

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