#C247AB#C247AB

#C247AB is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.9% C 0.193 H 335.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C247AB
RGBrgb(194, 71, 171)
HSLhsl(311, 50%, 52%)
HSVhsv(311, 63%, 76%)
CMYKcmyk(0%, 63.4%, 11.9%, 23.9%)
CIE-LABlab(50.59, 60.27, -29.01)
CIE-LCHlch(50.59, 66.89, 334.29°)
OKLaboklab(59.93% 0.1759 -0.0789)
OKLCHoklch(59.93% 0.193 335.9)
XYZxyz(31.8524, 18.9187, 40.4943)
Luminance0.1892 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C247AB #47C25E
analogous
#9C47C2 #C247AB #C2476D
triadic
#C247AB #ABC247 #47ABC2
tetradic
#C247AB #C29C47 #47C25E #476DC2
square
#C247AB #C29C47 #47C25E #476DC2
split-complementary
#C247AB #6DC247 #47C29C
monochromatic
#6B245E #993386 #C247AB #D175C0 #E0A3D5

Accessibility & contrast

On white

4.39
#C247AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#C247AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C247AB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C247AB#FFFFFF#000000##000000
##C247AB1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#486DAE
Deuteranopia (green-blind)
#6F7FA8
Tritanopia (blue-blind)
#CB4E73
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c247ab;
/* rgb */ color: rgb(194, 71, 171);
/* oklch */ color: oklch(59.9% 0.193 335.9);
Tailwind
colors: {
  custom: {
    50: '#d882c4',
    500: '#c247ab',
    950: '#000000',
  },
}
SCSS
$custom: #c247ab;
$custom-light: #d882c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c247ab",
  "rgb": {
    "r": 194,
    "g": 71,
    "b": 171
  },
  "hsl": {
    "h": 311.22,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59926,
    "c": 0.19281,
    "h": 335.9
  },
  "luminance": 0.18916
}

Semantic roles & 50–950 ramp

primary
#C247AB
secondary
#97CDA2
accent
#DA684E
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B12
muted
#837C81

Preview Lab

Preview with #C247AB

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

Preview Lab → · Contrast checker → · Palette generator →

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