#C0338C#C0338C

#C0338C is a mid, vivid pink. Relative luminance 0.155; OKLCH L 56.3% C 0.196 H 346.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#C0338C
RGBrgb(192, 51, 140)
HSLhsl(322, 58%, 48%)
HSVhsv(322, 73%, 75%)
CMYKcmyk(0%, 73.4%, 27.1%, 24.7%)
CIE-LABlab(46.27, 62.91, -17.25)
CIE-LCHlch(46.27, 65.23, 344.67°)
OKLaboklab(56.28% 0.1911 -0.0456)
OKLCHoklch(56.28% 0.196 346.6)
XYZxyz(27.6569, 15.4706, 26.3355)
Luminance0.1547 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0338C #33C067
analogous
#AE33C0 #C0338C #C03345
triadic
#C0338C #8CC033 #338CC0
tetradic
#C0338C #C0AE33 #33C067 #3345C0
square
#C0338C #C0AE33 #33C067 #3345C0
split-complementary
#C0338C #45C033 #33C0AE
monochromatic
#5F1945 #902669 #C0338C #D45CA8 #E18DC2

Accessibility & contrast

On white

5.13
#C0338C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#C0338C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0338C
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0338C#FFFFFF#000000##FFFFFF
##C0338C1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465E8E
Deuteranopia (green-blind)
#707689
Tritanopia (blue-blind)
#CD2F5B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c0338c;
/* rgb */ color: rgb(192, 51, 140);
/* oklch */ color: oklch(56.3% 0.196 346.6);
Tailwind
colors: {
  custom: {
    50: '#d778ad',
    500: '#c0338c',
    950: '#000000',
  },
}
SCSS
$custom: #c0338c;
$custom-light: #d778ad;
$custom-dark: #000000;
JSON
{
  "hex": "#c0338c",
  "rgb": {
    "r": 192,
    "g": 51,
    "b": 140
  },
  "hsl": {
    "h": 322.128,
    "s": 58.025,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56284,
    "c": 0.19646,
    "h": 346.6
  },
  "luminance": 0.15468
}

Semantic roles & 50–950 ramp

primary
#C0338C
secondary
#84CB9E
accent
#E18047
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #C0338C

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

Preview Lab → · Contrast checker → · Palette generator →

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