#C730A7#C730A7

#C730A7 is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.4% C 0.220 H 338.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C730A7
RGBrgb(199, 48, 167)
HSLhsl(313, 61%, 48%)
HSVhsv(313, 76%, 78%)
CMYKcmyk(0%, 75.9%, 16.1%, 22%)
CIE-LABlab(48.32, 69.08, -30.13)
CIE-LCHlch(48.32, 75.37, 336.43°)
OKLaboklab(58.38% 0.2047 -0.0818)
OKLCHoklch(58.38% 0.22 338.2)
XYZxyz(31.5859, 17.0491, 38.1790)
Luminance0.1705 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C730A7 #30C750
analogous
#9B30C7 #C730A7 #C7305B
triadic
#C730A7 #A7C730 #30A7C7
tetradic
#C730A7 #C79B30 #30C750 #305BC7
square
#C730A7 #C79B30 #30C750 #305BC7
split-complementary
#C730A7 #5BC730 #30C79B
monochromatic
#641854 #96247E #C730A7 #D85CBE #E48ED1

Accessibility & contrast

On white

4.76
#C730A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#C730A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C730A7
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C730A7#FFFFFF#000000##FFFFFF
##C730A71.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3864AA
Deuteranopia (green-blind)
#6B7BA4
Tritanopia (blue-blind)
#D23869
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c730a7;
/* rgb */ color: rgb(199, 48, 167);
/* oklch */ color: oklch(58.4% 0.220 338.2);
Tailwind
colors: {
  custom: {
    50: '#dc78c1',
    500: '#c730a7',
    950: '#000000',
  },
}
SCSS
$custom: #c730a7;
$custom-light: #dc78c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c730a7",
  "rgb": {
    "r": 199,
    "g": 48,
    "b": 167
  },
  "hsl": {
    "h": 312.715,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58376,
    "c": 0.22046,
    "h": 338.2
  },
  "luminance": 0.17046
}

Semantic roles & 50–950 ramp

primary
#C730A7
secondary
#85CE94
accent
#E46644
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #C730A7

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

Preview Lab → · Contrast checker → · Palette generator →

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