#C338A0#C338A0

#C338A0 is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.1% C 0.205 H 339.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C338A0
RGBrgb(195, 56, 160)
HSLhsl(315, 55%, 49%)
HSVhsv(315, 71%, 76%)
CMYKcmyk(0%, 71.3%, 17.9%, 23.5%)
CIE-LABlab(48.22, 64.61, -26.18)
CIE-LCHlch(48.22, 69.71, 337.94°)
OKLaboklab(58.07% 0.1923 -0.0707)
OKLCHoklch(58.07% 0.205 339.8)
XYZxyz(30.2658, 16.9714, 34.9327)
Luminance0.1697 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C338A0 #38C35B
analogous
#A138C3 #C338A0 #C3385B
triadic
#C338A0 #A0C338 #38A0C3
tetradic
#C338A0 #C3A138 #38C35B #385BC3
square
#C338A0 #C3A138 #38C35B #385BC3
split-complementary
#C338A0 #5BC338 #38C3A1
monochromatic
#641D52 #932A79 #C338A0 #D365B7 #E195CD

Accessibility & contrast

On white

4.78
#C338A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#C338A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C338A0
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C338A0#FFFFFF#000000##FFFFFF
##C338A01.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4164A3
Deuteranopia (green-blind)
#6D7A9D
Tritanopia (blue-blind)
#CE3C67
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c338a0;
/* rgb */ color: rgb(195, 56, 160);
/* oklch */ color: oklch(58.1% 0.205 339.8);
Tailwind
colors: {
  custom: {
    50: '#d97bbc',
    500: '#c338a0',
    950: '#000000',
  },
}
SCSS
$custom: #c338a0;
$custom-light: #d97bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#c338a0",
  "rgb": {
    "r": 195,
    "g": 56,
    "b": 160
  },
  "hsl": {
    "h": 315.108,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58074,
    "c": 0.20492,
    "h": 339.8
  },
  "luminance": 0.16969
}

Semantic roles & 50–950 ramp

primary
#C338A0
secondary
#8BCC9B
accent
#DF6F49
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C338A0

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

Preview Lab → · Contrast checker → · Palette generator →

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