#C05271#C05271

#C05271 is a mid, vivid pink. Relative luminance 0.184; OKLCH L 58.8% C 0.144 H 5.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#C05271
RGBrgb(192, 82, 113)
HSLhsl(343, 47%, 54%)
HSVhsv(343, 57%, 75%)
CMYKcmyk(0%, 57.3%, 41.1%, 24.7%)
CIE-LABlab(50.02, 47.08, 4.64)
CIE-LCHlch(50.02, 47.31, 5.63°)
OKLaboklab(58.76% 0.1433 0.0125)
OKLCHoklch(58.76% 0.144 5)
XYZxyz(27.7379, 18.4363, 17.7174)
Luminance0.1843 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C05271 #52C0A1
analogous
#C052A8 #C05271 #C06A52
triadic
#C05271 #71C052 #5271C0
tetradic
#C05271 #A8C052 #52C0A1 #6A52C0
square
#C05271 #A8C052 #52C0A1 #6A52C0
split-complementary
#C05271 #52C06A #52A8C0
monochromatic
#6F283C #9C3955 #C05271 #D07F96 #E1ACBB

Accessibility & contrast

On white

4.48
#C05271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#C05271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C05271
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C05271#FFFFFF#000000##000000
##C052711.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#676A72
Deuteranopia (green-blind)
#837F6E
Tritanopia (blue-blind)
#CF465E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c05271;
/* rgb */ color: rgb(192, 82, 113);
/* oklch */ color: oklch(58.8% 0.144 5.0);
Tailwind
colors: {
  custom: {
    50: '#d78799',
    500: '#c05271',
    950: '#000000',
  },
}
SCSS
$custom: #c05271;
$custom-light: #d78799;
$custom-dark: #000000;
JSON
{
  "hex": "#c05271",
  "rgb": {
    "r": 192,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 343.091,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58764,
    "c": 0.14389,
    "h": 5
  },
  "luminance": 0.18433
}

Semantic roles & 50–950 ramp

primary
#C05271
secondary
#9FCEC1
accent
#D6B152
background
#FDF8F9
surface
#FBF0F2
border
#D4CBCC
text
#150C0E
muted
#837D7E

Preview Lab

Preview with #C05271

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

Preview Lab → · Contrast checker → · Palette generator →

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