#CF4862#CF4862

#CF4862 is a mid, vivid red. Relative luminance 0.188; OKLCH L 59.4% C 0.170 H 12.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CF4862
RGBrgb(207, 72, 98)
HSLhsl(348, 58%, 55%)
HSVhsv(348, 65%, 81%)
CMYKcmyk(0%, 65.2%, 52.7%, 18.8%)
CIE-LABlab(50.44, 55.04, 14.60)
CIE-LCHlch(50.44, 56.94, 14.86°)
OKLaboklab(59.43% 0.1663 0.0369)
OKLCHoklch(59.43% 0.17 12.5)
XYZxyz(30.2567, 18.7859, 13.5857)
Luminance0.1878 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4862 #48CFB5
analogous
#CF48A6 #CF4862 #CF7148
triadic
#CF4862 #62CF48 #4862CF
tetradic
#CF4862 #A6CF48 #48CFB5 #7148CF
square
#CF4862 #A6CF48 #48CFB5 #7148CF
split-complementary
#CF4862 #48CF71 #48A6CF
monochromatic
#7C2132 #AD2D46 #CF4862 #DC788C #E8A9B5

Accessibility & contrast

On white

4.42
#CF4862 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#CF4862 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4862
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4862#FFFFFF#000000##000000
##CF48621.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#686762
Deuteranopia (green-blind)
#8B825F
Tritanopia (blue-blind)
#E13052
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cf4862;
/* rgb */ color: rgb(207, 72, 98);
/* oklch */ color: oklch(59.4% 0.170 12.5);
Tailwind
colors: {
  custom: {
    50: '#e3828e',
    500: '#cf4862',
    950: '#000000',
  },
}
SCSS
$custom: #cf4862;
$custom-light: #e3828e;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4862",
  "rgb": {
    "r": 207,
    "g": 72,
    "b": 98
  },
  "hsl": {
    "h": 348.444,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59425,
    "c": 0.17036,
    "h": 12.5
  },
  "luminance": 0.18782
}

Semantic roles & 50–950 ramp

primary
#CF4862
secondary
#9DD6CB
accent
#E2C446
background
#FEF8F8
surface
#FDEFF0
border
#D5CACB
text
#170B0C
muted
#857C7D

Preview Lab

Preview with #CF4862

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

Preview Lab → · Contrast checker → · Palette generator →

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