#C338A2#C338A2

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

Color values

HEX#C338A2
RGBrgb(195, 56, 162)
HSLhsl(314, 55%, 49%)
HSVhsv(314, 71%, 76%)
CMYKcmyk(0%, 71.3%, 16.9%, 23.5%)
CIE-LABlab(48.31, 64.89, -27.23)
CIE-LCHlch(48.31, 70.37, 337.23°)
OKLaboklab(58.17% 0.1926 -0.0737)
OKLCHoklch(58.17% 0.206 339.1)
XYZxyz(30.4422, 17.0420, 35.8616)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C338A2 #38C359
analogous
#9F38C3 #C338A2 #C3385C
triadic
#C338A2 #A2C338 #38A2C3
tetradic
#C338A2 #C39F38 #38C359 #385CC3
square
#C338A2 #C39F38 #38C359 #385CC3
split-complementary
#C338A2 #5CC338 #38C39F
monochromatic
#641D53 #932A7B #C338A2 #D365B9 #E195CF

Accessibility & contrast

On white

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

On black

4.41
#C338A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C338A2#FFFFFF#000000##FFFFFF
##C338A21.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4065A5
Deuteranopia (green-blind)
#6D7B9F
Tritanopia (blue-blind)
#CE3D68
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c338a2;
/* rgb */ color: rgb(195, 56, 162);
/* oklch */ color: oklch(58.2% 0.206 339.1);
Tailwind
colors: {
  custom: {
    50: '#d97bbe',
    500: '#c338a2',
    950: '#000000',
  },
}
SCSS
$custom: #c338a2;
$custom-light: #d97bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#c338a2",
  "rgb": {
    "r": 195,
    "g": 56,
    "b": 162
  },
  "hsl": {
    "h": 314.245,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58167,
    "c": 0.20623,
    "h": 339.1
  },
  "luminance": 0.17039
}

Semantic roles & 50–950 ramp

primary
#C338A2
secondary
#8BCC9A
accent
#DF6D49
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C338A2

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

Preview Lab → · Contrast checker → · Palette generator →

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