#CF4F8B#CF4F8B

#CF4F8B is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.4% C 0.172 H 354.3°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CF4F8B
RGBrgb(207, 79, 139)
HSLhsl(332, 57%, 56%)
HSVhsv(332, 62%, 81%)
CMYKcmyk(0%, 61.8%, 32.9%, 18.8%)
CIE-LABlab(52.65, 56.20, -6.78)
CIE-LCHlch(52.65, 56.61, 353.12°)
OKLaboklab(61.44% 0.1713 -0.0172)
OKLCHoklch(61.44% 0.172 354.3)
XYZxyz(33.1900, 20.7250, 26.6735)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4F8B #4FCF93
analogous
#CF4FCB #CF4F8B #CF534F
triadic
#CF4F8B #8BCF4F #4F8BCF
tetradic
#CF4F8B #CBCF4F #4FCF93 #534FCF
square
#CF4F8B #CBCF4F #4FCF93 #534FCF
split-complementary
#CF4F8B #4FCF53 #4FCBCF
monochromatic
#81234F #B1306C #CF4F8B #DC7FAB #E9AFCA

Accessibility & contrast

On white

4.08
#CF4F8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#CF4F8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4F8B
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4F8B#FFFFFF#000000##000000
##CF4F8B1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#636F8D
Deuteranopia (green-blind)
#868688
Tritanopia (blue-blind)
#DE4667
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf4f8b;
/* rgb */ color: rgb(207, 79, 139);
/* oklch */ color: oklch(61.4% 0.172 354.3);
Tailwind
colors: {
  custom: {
    50: '#e287ac',
    500: '#cf4f8b',
    950: '#000000',
  },
}
SCSS
$custom: #cf4f8b;
$custom-light: #e287ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4f8b",
  "rgb": {
    "r": 207,
    "g": 79,
    "b": 139
  },
  "hsl": {
    "h": 331.875,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61436,
    "c": 0.1722,
    "h": 354.3
  },
  "luminance": 0.20721
}

Semantic roles & 50–950 ramp

primary
#CF4F8B
secondary
#A2D7BF
accent
#E09947
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF4F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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