#CF5274#CF5274

#CF5274 is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.1% C 0.160 H 6.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#CF5274
RGBrgb(207, 82, 116)
HSLhsl(344, 57%, 57%)
HSVhsv(344, 60%, 81%)
CMYKcmyk(0%, 60.4%, 44%, 18.8%)
CIE-LABlab(52.47, 52.36, 6.67)
CIE-LCHlch(52.47, 52.78, 7.25°)
OKLaboklab(61.09% 0.1594 0.0177)
OKLCHoklch(61.09% 0.16 6.3)
XYZxyz(31.9040, 20.5646, 18.8089)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5274 #52CFAD
analogous
#CF52B3 #CF5274 #CF6F52
triadic
#CF5274 #74CF52 #5274CF
tetradic
#CF5274 #B3CF52 #52CFAD #6F52CF
square
#CF5274 #B3CF52 #52CFAD #6F52CF
split-complementary
#CF5274 #52CF6F #52B3CF
monochromatic
#82243E #B23155 #CF5274 #DC829A #EAB2C1

Accessibility & contrast

On white

4.11
#CF5274 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#CF5274 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5274
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5274#FFFFFF#000000##000000
##CF52741.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B6E75
Deuteranopia (green-blind)
#8C8671
Tritanopia (blue-blind)
#E0435F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf5274;
/* rgb */ color: rgb(207, 82, 116);
/* oklch */ color: oklch(61.1% 0.160 6.3);
Tailwind
colors: {
  custom: {
    50: '#e2889b',
    500: '#cf5274',
    950: '#000000',
  },
}
SCSS
$custom: #cf5274;
$custom-light: #e2889b;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5274",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 116
  },
  "hsl": {
    "h": 343.68,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61085,
    "c": 0.1604,
    "h": 6.3
  },
  "luminance": 0.20561
}

Semantic roles & 50–950 ramp

primary
#CF5274
secondary
#A5D8CA
accent
#E0B748
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CF5274

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

Preview Lab → · Contrast checker → · Palette generator →

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