#CF4270#CF4270

#CF4270 is a mid, vivid pink. Relative luminance 0.183; OKLCH L 59.1% C 0.180 H 4.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#CF4270
RGBrgb(207, 66, 112)
HSLhsl(340, 59%, 54%)
HSVhsv(340, 68%, 81%)
CMYKcmyk(0%, 68.1%, 45.9%, 18.8%)
CIE-LABlab(49.90, 58.66, 5.39)
CIE-LCHlch(49.90, 58.91, 5.25°)
OKLaboklab(59.14% 0.1792 0.0145)
OKLCHoklch(59.14% 0.18 4.6)
XYZxyz(30.6073, 18.3356, 17.2534)
Luminance0.1833 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4270 #42CFA1
analogous
#CF42B6 #CF4270 #CF5A42
triadic
#CF4270 #70CF42 #4270CF
tetradic
#CF4270 #B6CF42 #42CFA1 #5A42CF
square
#CF4270 #B6CF42 #42CFA1 #5A42CF
split-complementary
#CF4270 #42CF5A #42B6CF
monochromatic
#781F3C #A92B54 #CF4270 #DB7395 #E8A4BA

Accessibility & contrast

On white

4.50
#CF4270 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#CF4270 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4270
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4270#FFFFFF#000000##000000
##CF42701.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#616571
Deuteranopia (green-blind)
#86816D
Tritanopia (blue-blind)
#E12C55
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cf4270;
/* rgb */ color: rgb(207, 66, 112);
/* oklch */ color: oklch(59.1% 0.180 4.6);
Tailwind
colors: {
  custom: {
    50: '#e38098',
    500: '#cf4270',
    950: '#000000',
  },
}
SCSS
$custom: #cf4270;
$custom-light: #e38098;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4270",
  "rgb": {
    "r": 207,
    "g": 66,
    "b": 112
  },
  "hsl": {
    "h": 340.426,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59138,
    "c": 0.17976,
    "h": 4.6
  },
  "luminance": 0.18332
}

Semantic roles & 50–950 ramp

primary
#CF4270
secondary
#98D5C1
accent
#E3AF45
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CF4270

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

Preview Lab → · Contrast checker → · Palette generator →

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