#CC7A5F#CC7A5F

#CC7A5F is a light, moderate red. Relative luminance 0.276; OKLCH L 66.2% C 0.110 H 39.0°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#CC7A5F
RGBrgb(204, 122, 95)
HSLhsl(15, 52%, 59%)
HSVhsv(15, 53%, 80%)
CMYKcmyk(0%, 40.2%, 53.4%, 20%)
CIE-LABlab(59.51, 29.20, 28.39)
CIE-LCHlch(59.51, 40.73, 44.19°)
OKLaboklab(66.2% 0.0856 0.0692)
OKLCHoklch(66.2% 0.11 39)
XYZxyz(33.9292, 27.5858, 14.3620)
Luminance0.2758 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7A5F #5FB1CC
analogous
#CC5F7A #CC7A5F #CCB05F
triadic
#CC7A5F #5FCC7A #7A5FCC
tetradic
#CC7A5F #7ACC5F #5FB1CC #B05FCC
square
#CC7A5F #7ACC5F #5FB1CC #B05FCC
split-complementary
#CC7A5F #5FCCB0 #5F7ACC
monochromatic
#86412B #B45839 #CC7A5F #DBA18D #EAC7BC

Accessibility & contrast

On white

3.22
#CC7A5F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#CC7A5F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC7A5F
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7A5F#FFFFFF#000000##000000
##CC7A5F1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F855D
Deuteranopia (green-blind)
#A2965E
Tritanopia (blue-blind)
#DD6C73
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cc7a5f;
/* rgb */ color: rgb(204, 122, 95);
/* oklch */ color: oklch(66.2% 0.110 39.0);
Tailwind
colors: {
  custom: {
    50: '#dfa18c',
    500: '#cc7a5f',
    950: '#000000',
  },
}
SCSS
$custom: #cc7a5f;
$custom-light: #dfa18c;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7a5f",
  "rgb": {
    "r": 204,
    "g": 122,
    "b": 95
  },
  "hsl": {
    "h": 14.862,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.66195,
    "c": 0.11013,
    "h": 39
  },
  "luminance": 0.27583
}

Semantic roles & 50–950 ramp

primary
#CC7A5F
secondary
#AECED9
accent
#B8DB4D
background
#FEFAF8
surface
#FCF3F0
border
#D5CDCB
text
#160F0C
muted
#847F7D

Preview Lab

Preview with #CC7A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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