#CF506F#CF506F

#CF506F is a mid, vivid red. Relative luminance 0.202; OKLCH L 60.7% C 0.162 H 8.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CF506F
RGBrgb(207, 80, 111)
HSLhsl(345, 57%, 56%)
HSVhsv(345, 61%, 81%)
CMYKcmyk(0%, 61.4%, 46.4%, 18.8%)
CIE-LABlab(52.01, 52.76, 9.00)
CIE-LCHlch(52.01, 53.52, 9.68°)
OKLaboklab(60.7% 0.1604 0.0235)
OKLCHoklch(60.7% 0.162 8.3)
XYZxyz(31.4724, 20.1542, 17.2686)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF506F #50CFB0
analogous
#CF50AF #CF506F #CF7150
triadic
#CF506F #6FCF50 #506FCF
tetradic
#CF506F #AFCF50 #50CFB0 #7150CF
square
#CF506F #AFCF50 #50CFB0 #7150CF
split-complementary
#CF506F #50CF71 #50AFCF
monochromatic
#81233A #B13150 #CF506F #DC8097 #E9B0BE

Accessibility & contrast

On white

4.17
#CF506F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CF506F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF506F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF506F#FFFFFF#000000##000000
##CF506F1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B6C70
Deuteranopia (green-blind)
#8C856C
Tritanopia (blue-blind)
#E03F5C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf506f;
/* rgb */ color: rgb(207, 80, 111);
/* oklch */ color: oklch(60.7% 0.162 8.3);
Tailwind
colors: {
  custom: {
    50: '#e38798',
    500: '#cf506f',
    950: '#000000',
  },
}
SCSS
$custom: #cf506f;
$custom-light: #e38798;
$custom-dark: #000000;
JSON
{
  "hex": "#cf506f",
  "rgb": {
    "r": 207,
    "g": 80,
    "b": 111
  },
  "hsl": {
    "h": 345.354,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60701,
    "c": 0.16209,
    "h": 8.3
  },
  "luminance": 0.2015
}

Semantic roles & 50–950 ramp

primary
#CF506F
secondary
#A3D8CB
accent
#E0BB48
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0D
muted
#847D7E

Preview Lab

Preview with #CF506F

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

Preview Lab → · Contrast checker → · Palette generator →

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