#C7307E#C7307E

#C7307E is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.6% C 0.198 H 354.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#C7307E
RGBrgb(199, 48, 126)
HSLhsl(329, 61%, 48%)
HSVhsv(329, 76%, 78%)
CMYKcmyk(0%, 75.9%, 36.7%, 22%)
CIE-LABlab(46.67, 64.07, -8.03)
CIE-LCHlch(46.67, 64.57, 352.86°)
OKLaboklab(56.63% 0.1967 -0.0204)
OKLCHoklch(56.63% 0.198 354.1)
XYZxyz(28.3779, 15.7659, 21.2833)
Luminance0.1576 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7307E #30C779
analogous
#C430C7 #C7307E #C73032
triadic
#C7307E #7EC730 #307EC7
tetradic
#C7307E #C7C430 #30C779 #3032C7
square
#C7307E #C7C430 #30C779 #3032C7
split-complementary
#C7307E #32C730 #30C7C4
monochromatic
#641840 #96245F #C7307E #D85C9C #E48EBA

Accessibility & contrast

On white

5.06
#C7307E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#C7307E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C7307E
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7307E#FFFFFF#000000##FFFFFF
##C7307E1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5D80
Deuteranopia (green-blind)
#78797B
Tritanopia (blue-blind)
#D71F53
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c7307e;
/* rgb */ color: rgb(199, 48, 126);
/* oklch */ color: oklch(56.6% 0.198 354.1);
Tailwind
colors: {
  custom: {
    50: '#dd77a3',
    500: '#c7307e',
    950: '#000000',
  },
}
SCSS
$custom: #c7307e;
$custom-light: #dd77a3;
$custom-dark: #000000;
JSON
{
  "hex": "#c7307e",
  "rgb": {
    "r": 199,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 329.007,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56633,
    "c": 0.19778,
    "h": 354.1
  },
  "luminance": 0.15762
}

Semantic roles & 50–950 ramp

primary
#C7307E
secondary
#85CEA8
accent
#E49144
background
#FEF7FA
surface
#FCEEF3
border
#D5C9CD
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #C7307E

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

Preview Lab → · Contrast checker → · Palette generator →

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