#C338A3#C338A3

#C338A3 is a mid, highly saturated pink. Relative luminance 0.171; OKLCH L 58.2% C 0.207 H 338.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C338A3
RGBrgb(195, 56, 163)
HSLhsl(314, 55%, 49%)
HSVhsv(314, 71%, 76%)
CMYKcmyk(0%, 71.3%, 16.4%, 23.5%)
CIE-LABlab(48.36, 65.03, -27.76)
CIE-LCHlch(48.36, 70.70, 336.88°)
OKLaboklab(58.21% 0.1928 -0.0751)
OKLCHoklch(58.21% 0.207 338.7)
XYZxyz(30.5314, 17.0777, 36.3316)
Luminance0.1708 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C338A3 #38C358
analogous
#9E38C3 #C338A3 #C3385E
triadic
#C338A3 #A3C338 #38A3C3
tetradic
#C338A3 #C39E38 #38C358 #385EC3
square
#C338A3 #C39E38 #38C358 #385EC3
split-complementary
#C338A3 #5EC338 #38C39E
monochromatic
#641D54 #932A7B #C338A3 #D365BA #E195CF

Accessibility & contrast

On white

4.76
#C338A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C338A3
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C338A3#FFFFFF#000000##FFFFFF
##C338A31.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F65A6
Deuteranopia (green-blind)
#6C7BA0
Tritanopia (blue-blind)
#CE3E69
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c338a3;
/* rgb */ color: rgb(195, 56, 163);
/* oklch */ color: oklch(58.2% 0.207 338.7);
Tailwind
colors: {
  custom: {
    50: '#d97bbe',
    500: '#c338a3',
    950: '#000000',
  },
}
SCSS
$custom: #c338a3;
$custom-light: #d97bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#c338a3",
  "rgb": {
    "r": 195,
    "g": 56,
    "b": 163
  },
  "hsl": {
    "h": 313.813,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58214,
    "c": 0.20689,
    "h": 338.7
  },
  "luminance": 0.17075
}

Semantic roles & 50–950 ramp

primary
#C338A3
secondary
#8BCC9A
accent
#DF6C49
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C338A3

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

Preview Lab → · Contrast checker → · Palette generator →

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