#CA7E8B#CA7E8B

#CA7E8B is a light, moderate red. Relative luminance 0.293; OKLCH L 67.7% C 0.095 H 8.8°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#CA7E8B
RGBrgb(202, 126, 139)
HSLhsl(350, 42%, 64%)
HSVhsv(350, 38%, 79%)
CMYKcmyk(0%, 37.6%, 31.2%, 20.8%)
CIE-LABlab(61.08, 31.10, 5.47)
CIE-LCHlch(61.08, 31.58, 9.98°)
OKLaboklab(67.65% 0.0943 0.0146)
OKLCHoklch(67.65% 0.095 8.8)
XYZxyz(36.4794, 29.3450, 28.1639)
Luminance0.2934 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7E8B #7ECABD
analogous
#CA7EB1 #CA7E8B #CA977E
triadic
#CA7E8B #8BCA7E #7E8BCA
tetradic
#CA7E8B #B1CA7E #7ECABD #977ECA
square
#CA7E8B #B1CA7E #7ECABD #977ECA
split-complementary
#CA7E8B #7ECA97 #7EB1CA
monochromatic
#923C4B #B85364 #CA7E8B #DCA9B2 #EED5D9

Accessibility & contrast

On white

3.06
#CA7E8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#CA7E8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA7E8B
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7E8B#FFFFFF#000000##000000
##CA7E8B1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8B8B
Deuteranopia (green-blind)
#9D9989
Tritanopia (blue-blind)
#D77783
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ca7e8b;
/* rgb */ color: rgb(202, 126, 139);
/* oklch */ color: oklch(67.7% 0.095 8.8);
Tailwind
colors: {
  custom: {
    50: '#dca4ac',
    500: '#ca7e8b',
    950: '#000000',
  },
}
SCSS
$custom: #ca7e8b;
$custom-light: #dca4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7e8b",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 139
  },
  "hsl": {
    "h": 349.737,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67651,
    "c": 0.09541,
    "h": 8.8
  },
  "luminance": 0.29342
}

Semantic roles & 50–950 ramp

primary
#CA7E8B
secondary
#C5DFDB
accent
#B59E31
background
#FDFAFA
surface
#FBF4F4
border
#D4CECE
text
#150F10
muted
#837F7F

Preview Lab

Preview with #CA7E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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