#C2279A#C2279A

#C2279A is a mid, highly saturated pink. Relative luminance 0.153; OKLCH L 56.3% C 0.218 H 341.2°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#C2279A
RGBrgb(194, 39, 154)
HSLhsl(315, 67%, 46%)
HSVhsv(315, 80%, 76%)
CMYKcmyk(0%, 79.9%, 20.6%, 23.9%)
CIE-LABlab(45.98, 68.69, -26.09)
CIE-LCHlch(45.98, 73.48, 339.20°)
OKLaboklab(56.33% 0.2062 -0.0703)
OKLCHoklch(56.33% 0.218 341.2)
XYZxyz(28.8074, 15.2565, 31.9933)
Luminance0.1525 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2279A #27C24F
analogous
#9C27C2 #C2279A #C2274C
triadic
#C2279A #9AC227 #279AC2
tetradic
#C2279A #C29C27 #27C24F #274CC2
square
#C2279A #C29C27 #27C24F #274CC2
split-complementary
#C2279A #4CC227 #27C29C
monochromatic
#5C1349 #8F1D72 #C2279A #DB4BB6 #E57ECB

Accessibility & contrast

On white

5.18
#C2279A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#C2279A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C2279A
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2279A#FFFFFF#000000##FFFFFF
##C2279A1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365D9D
Deuteranopia (green-blind)
#697697
Tritanopia (blue-blind)
#CE2B5F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c2279a;
/* rgb */ color: rgb(194, 39, 154);
/* oklch */ color: oklch(56.3% 0.218 341.2);
Tailwind
colors: {
  custom: {
    50: '#d974b8',
    500: '#c2279a',
    950: '#000000',
  },
}
SCSS
$custom: #c2279a;
$custom-light: #d974b8;
$custom-dark: #000000;
JSON
{
  "hex": "#c2279a",
  "rgb": {
    "r": 194,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 315.484,
    "s": 66.524,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56334,
    "c": 0.21783,
    "h": 341.2
  },
  "luminance": 0.15253
}

Semantic roles & 50–950 ramp

primary
#C2279A
secondary
#77CE8E
accent
#E96B3E
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #C2279A

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

Preview Lab → · Contrast checker → · Palette generator →

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