#C2279B#C2279B

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

Color values

HEX#C2279B
RGBrgb(194, 39, 155)
HSLhsl(315, 67%, 46%)
HSVhsv(315, 80%, 76%)
CMYKcmyk(0%, 79.9%, 20.1%, 23.9%)
CIE-LABlab(46.03, 68.82, -26.62)
CIE-LCHlch(46.03, 73.79, 338.85°)
OKLaboklab(56.38% 0.2063 -0.0718)
OKLCHoklch(56.38% 0.218 340.8)
XYZxyz(28.8910, 15.2899, 32.4337)
Luminance0.1529 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2279B #27C24E
analogous
#9B27C2 #C2279B #C2274D
triadic
#C2279B #9BC227 #279BC2
tetradic
#C2279B #C29B27 #27C24E #274DC2
square
#C2279B #C29B27 #27C24E #274DC2
split-complementary
#C2279B #4DC227 #27C29B
monochromatic
#5C134A #8F1D72 #C2279B #DB4BB7 #E57ECB

Accessibility & contrast

On white

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

On black

4.06
#C2279B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C2279B#FFFFFF#000000##FFFFFF
##C2279B1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365D9E
Deuteranopia (green-blind)
#697698
Tritanopia (blue-blind)
#CE2C60
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c2279b;
/* rgb */ color: rgb(194, 39, 155);
/* oklch */ color: oklch(56.4% 0.218 340.8);
Tailwind
colors: {
  custom: {
    50: '#d974b8',
    500: '#c2279b',
    950: '#000000',
  },
}
SCSS
$custom: #c2279b;
$custom-light: #d974b8;
$custom-dark: #000000;
JSON
{
  "hex": "#c2279b",
  "rgb": {
    "r": 194,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 315.097,
    "s": 66.524,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56381,
    "c": 0.21843,
    "h": 340.8
  },
  "luminance": 0.15287
}

Semantic roles & 50–950 ramp

primary
#C2279B
secondary
#77CE8D
accent
#E9693E
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #C2279B

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

Preview Lab → · Contrast checker → · Palette generator →

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