#CC7A8A#CC7A8A

#CC7A8A is a light, moderate red. Relative luminance 0.286; OKLCH L 67.2% C 0.104 H 7.6°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#CC7A8A
RGBrgb(204, 122, 138)
HSLhsl(348, 45%, 64%)
HSVhsv(348, 40%, 80%)
CMYKcmyk(0%, 40.2%, 32.4%, 20%)
CIE-LABlab(60.42, 33.86, 5.13)
CIE-LCHlch(60.42, 34.25, 8.61°)
OKLaboklab(67.19% 0.1027 0.0138)
OKLCHoklch(67.19% 0.104 7.6)
XYZxyz(36.4502, 28.5943, 27.6393)
Luminance0.2859 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7A8A #7ACCBC
analogous
#CC7AB3 #CC7A8A #CC937A
triadic
#CC7A8A #8ACC7A #7A8ACC
tetradic
#CC7A8A #B3CC7A #7ACCBC #937ACC
square
#CC7A8A #B3CC7A #7ACCBC #937ACC
split-complementary
#CC7A8A #7ACC93 #7AB3CC
monochromatic
#93384A #BB4E63 #CC7A8A #DDA6B1 #EED2D8

Accessibility & contrast

On white

3.13
#CC7A8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#CC7A8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC7A8A
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7A8A#FFFFFF#000000##000000
##CC7A8A1.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#88888A
Deuteranopia (green-blind)
#9C9888
Tritanopia (blue-blind)
#DA7380
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cc7a8a;
/* rgb */ color: rgb(204, 122, 138);
/* oklch */ color: oklch(67.2% 0.104 7.6);
Tailwind
colors: {
  custom: {
    50: '#dea2ac',
    500: '#cc7a8a',
    950: '#000000',
  },
}
SCSS
$custom: #cc7a8a;
$custom-light: #dea2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7a8a",
  "rgb": {
    "r": 204,
    "g": 122,
    "b": 138
  },
  "hsl": {
    "h": 348.293,
    "s": 44.565,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67189,
    "c": 0.10358,
    "h": 7.6
  },
  "luminance": 0.28591
}

Semantic roles & 50–950 ramp

primary
#CC7A8A
secondary
#C3DFDA
accent
#B89D2E
background
#FDFAFA
surface
#FBF3F4
border
#D4CDCE
text
#150F10
muted
#837F7F

Preview Lab

Preview with #CC7A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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