#C247A2#C247A2

#C247A2 is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.5% C 0.186 H 339.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#C247A2
RGBrgb(194, 71, 162)
HSLhsl(316, 50%, 52%)
HSVhsv(316, 63%, 76%)
CMYKcmyk(0%, 63.4%, 16.5%, 23.9%)
CIE-LABlab(50.20, 58.91, -24.32)
CIE-LCHlch(50.20, 63.74, 337.57°)
OKLaboklab(59.51% 0.1745 -0.0656)
OKLCHoklch(59.51% 0.186 339.4)
XYZxyz(31.0236, 18.5872, 36.1292)
Luminance0.1858 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C247A2 #47C267
analogous
#A547C2 #C247A2 #C24765
triadic
#C247A2 #A2C247 #47A2C2
tetradic
#C247A2 #C2A547 #47C267 #4765C2
square
#C247A2 #C2A547 #47C267 #4765C2
split-complementary
#C247A2 #65C247 #47C2A5
monochromatic
#6B2458 #99337E #C247A2 #D175B9 #E0A3D0

Accessibility & contrast

On white

4.45
#C247A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#C247A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C247A2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C247A2#FFFFFF#000000##000000
##C247A21.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c247a2;
/* rgb */ color: rgb(194, 71, 162);
/* oklch */ color: oklch(59.5% 0.186 339.4);
Tailwind
colors: {
  custom: {
    50: '#d882bd',
    500: '#c247a2',
    950: '#000000',
  },
}
SCSS
$custom: #c247a2;
$custom-light: #d882bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c247a2",
  "rgb": {
    "r": 194,
    "g": 71,
    "b": 162
  },
  "hsl": {
    "h": 315.61,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59512,
    "c": 0.18637,
    "h": 339.4
  },
  "luminance": 0.18584
}

Semantic roles & 50–950 ramp

primary
#C247A2
secondary
#97CDA5
accent
#DA724E
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C247A2

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

Preview Lab → · Contrast checker → · Palette generator →

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