#C338A9#C338A9

#C338A9 is a mid, highly saturated pink. Relative luminance 0.173; OKLCH L 58.5% C 0.211 H 336.5°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#C338A9
RGBrgb(195, 56, 169)
HSLhsl(311, 55%, 49%)
HSVhsv(311, 71%, 76%)
CMYKcmyk(0%, 71.3%, 13.3%, 23.5%)
CIE-LABlab(48.63, 65.89, -30.88)
CIE-LCHlch(48.63, 72.76, 334.89°)
OKLaboklab(58.5% 0.1935 -0.084)
OKLCHoklch(58.5% 0.211 336.5)
XYZxyz(31.0818, 17.2978, 39.2303)
Luminance0.1729 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C338A9 #38C352
analogous
#9838C3 #C338A9 #C33864
triadic
#C338A9 #A9C338 #38A9C3
tetradic
#C338A9 #C39838 #38C352 #3864C3
square
#C338A9 #C39838 #38C352 #3864C3
split-complementary
#C338A9 #64C338 #38C398
monochromatic
#641D57 #932A80 #C338A9 #D365BE #E195D2

Accessibility & contrast

On white

4.71
#C338A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#C338A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C338A9
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C338A9#FFFFFF#000000##FFFFFF
##C338A91.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B66AC
Deuteranopia (green-blind)
#6A7BA6
Tritanopia (blue-blind)
#CD416C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c338a9;
/* rgb */ color: rgb(195, 56, 169);
/* oklch */ color: oklch(58.5% 0.211 336.5);
Tailwind
colors: {
  custom: {
    50: '#d97bc3',
    500: '#c338a9',
    950: '#000000',
  },
}
SCSS
$custom: #c338a9;
$custom-light: #d97bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#c338a9",
  "rgb": {
    "r": 195,
    "g": 56,
    "b": 169
  },
  "hsl": {
    "h": 311.223,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58504,
    "c": 0.21096,
    "h": 336.5
  },
  "luminance": 0.17295
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C338A9

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

Preview Lab → · Contrast checker → · Palette generator →

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