#C45271#C45271

#C45271 is a mid, vivid pink. Relative luminance 0.190; OKLCH L 59.4% C 0.148 H 5.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C45271
RGBrgb(196, 82, 113)
HSLhsl(344, 49%, 55%)
HSVhsv(344, 58%, 77%)
CMYKcmyk(0%, 58.2%, 42.3%, 23.1%)
CIE-LABlab(50.65, 48.42, 5.62)
CIE-LCHlch(50.65, 48.75, 6.62°)
OKLaboklab(59.36% 0.1474 0.015)
OKLCHoklch(59.36% 0.148 5.8)
XYZxyz(28.7648, 18.9658, 17.7655)
Luminance0.1896 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C45271 #52C4A5
analogous
#C452AA #C45271 #C46C52
triadic
#C45271 #71C452 #5271C4
tetradic
#C45271 #AAC452 #52C4A5 #6C52C4
square
#C45271 #AAC452 #52C4A5 #6C52C4
split-complementary
#C45271 #52C46C #52AAC4
monochromatic
#74283C #A23754 #C45271 #D48096 #E3ADBC

Accessibility & contrast

On white

4.38
#C45271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#C45271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C45271
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C45271#FFFFFF#000000##000000
##C452711.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#686B72
Deuteranopia (green-blind)
#86816E
Tritanopia (blue-blind)
#D4455E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c45271;
/* rgb */ color: rgb(196, 82, 113);
/* oklch */ color: oklch(59.4% 0.148 5.8);
Tailwind
colors: {
  custom: {
    50: '#da8799',
    500: '#c45271',
    950: '#000000',
  },
}
SCSS
$custom: #c45271;
$custom-light: #da8799;
$custom-dark: #000000;
JSON
{
  "hex": "#c45271",
  "rgb": {
    "r": 196,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 343.684,
    "s": 49.138,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59356,
    "c": 0.14817,
    "h": 5.8
  },
  "luminance": 0.18963
}

Semantic roles & 50–950 ramp

primary
#C45271
secondary
#A1D1C4
accent
#D9B34F
background
#FDF8F9
surface
#FBF0F2
border
#D4CBCC
text
#150C0E
muted
#837D7E

Preview Lab

Preview with #C45271

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

Preview Lab → · Contrast checker → · Palette generator →

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