#C0339B#C0339B

#C0339B is a mid, highly saturated pink. Relative luminance 0.159; OKLCH L 56.9% C 0.205 H 340.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#C0339B
RGBrgb(192, 51, 155)
HSLhsl(316, 58%, 48%)
HSVhsv(316, 73%, 75%)
CMYKcmyk(0%, 73.4%, 19.3%, 24.7%)
CIE-LABlab(46.90, 64.86, -25.30)
CIE-LCHlch(46.90, 69.62, 338.69°)
OKLaboklab(56.95% 0.1938 -0.0682)
OKLCHoklch(56.95% 0.205 340.6)
XYZxyz(28.8393, 15.9435, 32.5626)
Luminance0.1594 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0339B #33C058
analogous
#9F33C0 #C0339B #C03354
triadic
#C0339B #9BC033 #339BC0
tetradic
#C0339B #C09F33 #33C058 #3354C0
square
#C0339B #C09F33 #33C058 #3354C0
split-complementary
#C0339B #54C033 #33C09F
monochromatic
#5F194D #902674 #C0339B #D45CB4 #E18DCB

Accessibility & contrast

On white

5.01
#C0339B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#C0339B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0339B
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0339B#FFFFFF#000000##FFFFFF
##C0339B1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E619E
Deuteranopia (green-blind)
#6B7798
Tritanopia (blue-blind)
#CC3763
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c0339b;
/* rgb */ color: rgb(192, 51, 155);
/* oklch */ color: oklch(56.9% 0.205 340.6);
Tailwind
colors: {
  custom: {
    50: '#d778b8',
    500: '#c0339b',
    950: '#000000',
  },
}
SCSS
$custom: #c0339b;
$custom-light: #d778b8;
$custom-dark: #000000;
JSON
{
  "hex": "#c0339b",
  "rgb": {
    "r": 192,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 315.745,
    "s": 58.025,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56946,
    "c": 0.20547,
    "h": 340.6
  },
  "luminance": 0.15941
}

Semantic roles & 50–950 ramp

primary
#C0339B
secondary
#84CB96
accent
#E16F47
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C0339B

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

Preview Lab → · Contrast checker → · Palette generator →

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