#C338A5#C338A5

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

Color values

HEX#C338A5
RGBrgb(195, 56, 165)
HSLhsl(313, 55%, 49%)
HSVhsv(313, 71%, 76%)
CMYKcmyk(0%, 71.3%, 15.4%, 23.5%)
CIE-LABlab(48.45, 65.31, -28.80)
CIE-LCHlch(48.45, 71.38, 336.20°)
OKLaboklab(58.31% 0.193 -0.0781)
OKLCHoklch(58.31% 0.208 338)
XYZxyz(30.7120, 17.1499, 37.2828)
Luminance0.1715 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C338A5 #38C356
analogous
#9C38C3 #C338A5 #C33860
triadic
#C338A5 #A5C338 #38A5C3
tetradic
#C338A5 #C39C38 #38C356 #3860C3
square
#C338A5 #C39C38 #38C356 #3860C3
split-complementary
#C338A5 #60C338 #38C39C
monochromatic
#641D55 #932A7D #C338A5 #D365BB #E195D0

Accessibility & contrast

On white

4.74
#C338A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C338A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C338A5
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C338A5#FFFFFF#000000##FFFFFF
##C338A51.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E65A8
Deuteranopia (green-blind)
#6C7BA2
Tritanopia (blue-blind)
#CE3F6A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c338a5;
/* rgb */ color: rgb(195, 56, 165);
/* oklch */ color: oklch(58.3% 0.208 338.0);
Tailwind
colors: {
  custom: {
    50: '#d97bc0',
    500: '#c338a5',
    950: '#000000',
  },
}
SCSS
$custom: #c338a5;
$custom-light: #d97bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#c338a5",
  "rgb": {
    "r": 195,
    "g": 56,
    "b": 165
  },
  "hsl": {
    "h": 312.95,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5831,
    "c": 0.20824,
    "h": 338
  },
  "luminance": 0.17147
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C338A5

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

Preview Lab → · Contrast checker → · Palette generator →

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