#CF5170#CF5170

#CF5170 is a mid, vivid red. Relative luminance 0.203; OKLCH L 60.9% C 0.161 H 8.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CF5170
RGBrgb(207, 81, 112)
HSLhsl(345, 57%, 56%)
HSVhsv(345, 61%, 81%)
CMYKcmyk(0%, 60.9%, 45.9%, 18.8%)
CIE-LABlab(52.20, 52.41, 8.67)
CIE-LCHlch(52.20, 53.13, 9.40°)
OKLaboklab(60.85% 0.1594 0.0227)
OKLCHoklch(60.85% 0.161 8.1)
XYZxyz(31.6015, 20.3239, 17.5848)
Luminance0.2032 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5170 #51CFB0
analogous
#CF51AF #CF5170 #CF7151
triadic
#CF5170 #70CF51 #5170CF
tetradic
#CF5170 #AFCF51 #51CFB0 #7151CF
square
#CF5170 #AFCF51 #51CFB0 #7151CF
split-complementary
#CF5170 #51CF71 #51AFCF
monochromatic
#82243B #B23151 #CF5170 #DC8197 #E9B1BF

Accessibility & contrast

On white

4.15
#CF5170 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CF5170 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5170
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5170#FFFFFF#000000##000000
##CF51701.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B6D71
Deuteranopia (green-blind)
#8C866D
Tritanopia (blue-blind)
#E0405D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf5170;
/* rgb */ color: rgb(207, 81, 112);
/* oklch */ color: oklch(60.9% 0.161 8.1);
Tailwind
colors: {
  custom: {
    50: '#e28898',
    500: '#cf5170',
    950: '#000000',
  },
}
SCSS
$custom: #cf5170;
$custom-light: #e28898;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5170",
  "rgb": {
    "r": 207,
    "g": 81,
    "b": 112
  },
  "hsl": {
    "h": 345.238,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60851,
    "c": 0.16095,
    "h": 8.1
  },
  "luminance": 0.2032
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF5170

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

Preview Lab → · Contrast checker → · Palette generator →

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