#C0339F#C0339F

#C0339F is a mid, highly saturated pink. Relative luminance 0.161; OKLCH L 57.1% C 0.208 H 339.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#C0339F
RGBrgb(192, 51, 159)
HSLhsl(314, 58%, 48%)
HSVhsv(314, 73%, 75%)
CMYKcmyk(0%, 73.4%, 17.2%, 24.7%)
CIE-LABlab(47.08, 65.41, -27.41)
CIE-LCHlch(47.08, 70.92, 337.27°)
OKLaboklab(57.13% 0.1944 -0.0742)
OKLCHoklch(57.13% 0.208 339.1)
XYZxyz(29.1808, 16.0801, 34.3611)
Luminance0.1608 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0339F #33C054
analogous
#9B33C0 #C0339F #C03358
triadic
#C0339F #9FC033 #339FC0
tetradic
#C0339F #C09B33 #33C054 #3358C0
square
#C0339F #C09B33 #33C054 #3358C0
split-complementary
#C0339F #58C033 #33C09B
monochromatic
#5F194F #902677 #C0339F #D45CB8 #E18DCD

Accessibility & contrast

On white

4.98
#C0339F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#C0339F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0339F
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0339F#FFFFFF#000000##FFFFFF
##C0339F1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B61A2
Deuteranopia (green-blind)
#6A789C
Tritanopia (blue-blind)
#CB3965
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c0339f;
/* rgb */ color: rgb(192, 51, 159);
/* oklch */ color: oklch(57.1% 0.208 339.1);
Tailwind
colors: {
  custom: {
    50: '#d778bb',
    500: '#c0339f',
    950: '#000000',
  },
}
SCSS
$custom: #c0339f;
$custom-light: #d778bb;
$custom-dark: #000000;
JSON
{
  "hex": "#c0339f",
  "rgb": {
    "r": 192,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 314.043,
    "s": 58.025,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57134,
    "c": 0.20805,
    "h": 339.1
  },
  "luminance": 0.16077
}

Semantic roles & 50–950 ramp

primary
#C0339F
secondary
#84CB94
accent
#E16B47
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C0339F

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

Preview Lab → · Contrast checker → · Palette generator →

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