#C641A2#C641A2

#C641A2 is a mid, vivid pink. Relative luminance 0.184; OKLCH L 59.5% C 0.197 H 340.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#C641A2
RGBrgb(198, 65, 162)
HSLhsl(316, 54%, 52%)
HSVhsv(316, 67%, 78%)
CMYKcmyk(0%, 67.2%, 18.2%, 22.4%)
CIE-LABlab(49.98, 62.37, -24.62)
CIE-LCHlch(49.98, 67.06, 338.46°)
OKLaboklab(59.47% 0.1857 -0.0663)
OKLCHoklch(59.47% 0.197 340.4)
XYZxyz(31.7014, 18.3980, 36.0570)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C641A2 #41C665
analogous
#A841C6 #C641A2 #C64160
triadic
#C641A2 #A2C641 #41A2C6
tetradic
#C641A2 #C6A841 #41C665 #4160C6
square
#C641A2 #C6A841 #41C665 #4160C6
split-complementary
#C641A2 #60C641 #41C6A8
monochromatic
#6C2058 #9B2F7E #C641A2 #D470B9 #E29FD0

Accessibility & contrast

On white

4.49
#C641A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#C641A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C641A2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C641A2#FFFFFF#000000##000000
##C641A21.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A69A5
Deuteranopia (green-blind)
#737F9F
Tritanopia (blue-blind)
#D1446C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c641a2;
/* rgb */ color: rgb(198, 65, 162);
/* oklch */ color: oklch(59.5% 0.197 340.4);
Tailwind
colors: {
  custom: {
    50: '#db7fbd',
    500: '#c641a2',
    950: '#000000',
  },
}
SCSS
$custom: #c641a2;
$custom-light: #db7fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#c641a2",
  "rgb": {
    "r": 198,
    "g": 65,
    "b": 162
  },
  "hsl": {
    "h": 316.241,
    "s": 53.846,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59471,
    "c": 0.19716,
    "h": 340.4
  },
  "luminance": 0.18395
}

Semantic roles & 50–950 ramp

primary
#C641A2
secondary
#94CFA4
accent
#DD724B
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C641A2

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

Preview Lab → · Contrast checker → · Palette generator →

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