#C2579E#C2579E

#C2579E is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.3% C 0.160 H 342.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#C2579E
RGBrgb(194, 87, 158)
HSLhsl(320, 47%, 55%)
HSVhsv(320, 55%, 76%)
CMYKcmyk(0%, 55.2%, 18.6%, 23.9%)
CIE-LABlab(52.68, 51.17, -18.16)
CIE-LCHlch(52.68, 54.29, 340.46°)
OKLaboklab(61.29% 0.1522 -0.0484)
OKLCHoklch(61.29% 0.16 342.3)
XYZxyz(31.8286, 20.7570, 34.6713)
Luminance0.2075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2579E #57C27B
analogous
#B157C2 #C2579E #C25768
triadic
#C2579E #9EC257 #579EC2
tetradic
#C2579E #C2B157 #57C27B #5768C2
square
#C2579E #C2B157 #57C27B #5768C2
split-complementary
#C2579E #68C257 #57C2B1
monochromatic
#742A5B #A13B7F #C2579E #D284B8 #E3B1D2

Accessibility & contrast

On white

4.08
#C2579E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#C2579E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C2579E
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2579E#FFFFFF#000000##000000
##C2579E1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E73A0
Deuteranopia (green-blind)
#7C849B
Tritanopia (blue-blind)
#CD5873
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c2579e;
/* rgb */ color: rgb(194, 87, 158);
/* oklch */ color: oklch(61.3% 0.160 342.3);
Tailwind
colors: {
  custom: {
    50: '#d78bba',
    500: '#c2579e',
    950: '#000000',
  },
}
SCSS
$custom: #c2579e;
$custom-light: #d78bba;
$custom-dark: #000000;
JSON
{
  "hex": "#c2579e",
  "rgb": {
    "r": 194,
    "g": 87,
    "b": 158
  },
  "hsl": {
    "h": 320.187,
    "s": 46.725,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61289,
    "c": 0.15967,
    "h": 342.3
  },
  "luminance": 0.20754
}

Semantic roles & 50–950 ramp

primary
#C2579E
secondary
#A4D1B3
accent
#D67E51
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C11
muted
#837D80

Preview Lab

Preview with #C2579E

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

Preview Lab → · Contrast checker → · Palette generator →

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