#C45798#C45798

#C45798 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.3% C 0.157 H 345.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#C45798
RGBrgb(196, 87, 152)
HSLhsl(324, 48%, 55%)
HSVhsv(324, 56%, 77%)
CMYKcmyk(0%, 55.6%, 22.4%, 23.1%)
CIE-LABlab(52.75, 50.91, -14.49)
CIE-LCHlch(52.75, 52.93, 344.11°)
OKLaboklab(61.33% 0.1527 -0.0383)
OKLCHoklch(61.33% 0.157 345.9)
XYZxyz(31.8416, 20.8219, 32.0417)
Luminance0.2082 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C45798 #57C483
analogous
#B957C4 #C45798 #C45761
triadic
#C45798 #98C457 #5798C4
tetradic
#C45798 #C4B957 #57C483 #5761C4
square
#C45798 #C4B957 #57C483 #5761C4
split-complementary
#C45798 #61C457 #57C4B9
monochromatic
#772A58 #A43A79 #C45798 #D484B4 #E4B2D0

Accessibility & contrast

On white

4.07
#C45798 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#C45798 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C45798
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C45798#FFFFFF#000000##000000
##C457981.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#61729A
Deuteranopia (green-blind)
#7F8595
Tritanopia (blue-blind)
#D05571
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c45798;
/* rgb */ color: rgb(196, 87, 152);
/* oklch */ color: oklch(61.3% 0.157 345.9);
Tailwind
colors: {
  custom: {
    50: '#d98bb6',
    500: '#c45798',
    950: '#000000',
  },
}
SCSS
$custom: #c45798;
$custom-light: #d98bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#c45798",
  "rgb": {
    "r": 196,
    "g": 87,
    "b": 152
  },
  "hsl": {
    "h": 324.22,
    "s": 48.018,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61328,
    "c": 0.15745,
    "h": 345.9
  },
  "luminance": 0.20819
}

Semantic roles & 50–950 ramp

primary
#C45798
secondary
#A5D2B7
accent
#D88750
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C11
muted
#837D80

Preview Lab

Preview with #C45798

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

Preview Lab → · Contrast checker → · Palette generator →

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